mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
8 lines
140 B
YAML
8 lines
140 B
YAML
|
language: rust
|
||
|
id: into-only-once
|
||
|
rule:
|
||
|
all:
|
||
|
- kind: call_expression
|
||
|
- pattern: "$EXPR.into().into()"
|
||
|
fix: $EXPR.into()
|