aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/eta_reduction.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/eta_reduction.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'lib/src/lints/eta_reduction.rs')
-rw-r--r--lib/src/lints/eta_reduction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/eta_reduction.rs b/lib/src/lints/eta_reduction.rs
index 454c78f..580f4a0 100644
--- a/lib/src/lints/eta_reduction.rs
+++ b/lib/src/lints/eta_reduction.rs
@@ -34,7 +34,7 @@ use rnix::{
34/// map double [ 1 2 3 ] 34/// map double [ 1 2 3 ]
35/// ``` 35/// ```
36#[lint( 36#[lint(
37 name = "eta reduction", 37 name = "eta_reduction",
38 note = "This function expression is eta reducible", 38 note = "This function expression is eta reducible",
39 code = 7, 39 code = 7,
40 match_with = SyntaxKind::NODE_LAMBDA 40 match_with = SyntaxKind::NODE_LAMBDA