aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/redundant_pattern_bind.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-11-20 13:26:26 +0000
committerAkshay <[email protected]>2021-11-28 07:55:23 +0000
commit2b6012a79cb092e5d88c050cb494057efef28fc2 (patch)
treecd31973c32431a5cbf8c12ce574f799d065852be /lib/src/lints/redundant_pattern_bind.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'lib/src/lints/redundant_pattern_bind.rs')
-rw-r--r--lib/src/lints/redundant_pattern_bind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/redundant_pattern_bind.rs b/lib/src/lints/redundant_pattern_bind.rs
index 882a660..88ce4b0 100644
--- a/lib/src/lints/redundant_pattern_bind.rs
+++ b/lib/src/lints/redundant_pattern_bind.rs
@@ -27,7 +27,7 @@ use rnix::{
27/// inputs: inputs.nixpkgs 27/// inputs: inputs.nixpkgs
28/// ``` 28/// ```
29#[lint( 29#[lint(
30 name = "redundant pattern bind", 30 name = "redundant_pattern_bind",
31 note = "Found redundant pattern bind in function argument", 31 note = "Found redundant pattern bind in function argument",
32 code = 11, 32 code = 11,
33 match_with = SyntaxKind::NODE_PATTERN 33 match_with = SyntaxKind::NODE_PATTERN