mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
8 lines
146 B
YAML
8 lines
146 B
YAML
|
language: rust
|
||
|
id: into-after-boxing
|
||
|
rule:
|
||
|
all:
|
||
|
- kind: call_expression
|
||
|
- pattern: "Box::new($EXPR).into()"
|
||
|
fix: $EXPR.into()
|