aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/useless_parens.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/useless_parens.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'lib/src/lints/useless_parens.rs')
-rw-r--r--lib/src/lints/useless_parens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/useless_parens.rs b/lib/src/lints/useless_parens.rs
index dccc717..09d6f04 100644
--- a/lib/src/lints/useless_parens.rs
+++ b/lib/src/lints/useless_parens.rs
@@ -33,7 +33,7 @@ use rnix::{
33/// 2 + 3 33/// 2 + 3
34/// ``` 34/// ```
35#[lint( 35#[lint(
36 name = "useless parens", 36 name = "useless_parens",
37 note = "These parentheses can be omitted", 37 note = "These parentheses can be omitted",
38 code = 8, 38 code = 8,
39 match_with = [ 39 match_with = [