aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/useless_parens.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/lints/useless_parens.rs')
-rw-r--r--lib/src/lints/useless_parens.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/useless_parens.rs b/lib/src/lints/useless_parens.rs
index 36ad1b7..45d80ae 100644
--- a/lib/src/lints/useless_parens.rs
+++ b/lib/src/lints/useless_parens.rs
@@ -15,7 +15,7 @@ use rnix::{
15/// 15///
16/// ## Example 16/// ## Example
17/// 17///
18/// ``` 18/// ```nix
19/// let 19/// let
20/// double = (x: 2 * x); 20/// double = (x: 2 * x);
21/// ls = map (double) [ 1 2 3 ]; 21/// ls = map (double) [ 1 2 3 ];
@@ -25,7 +25,7 @@ use rnix::{
25/// 25///
26/// Remove unnecessary parentheses: 26/// Remove unnecessary parentheses:
27/// 27///
28/// ``` 28/// ```nix
29/// let 29/// let
30/// double = x: 2 * x; 30/// double = x: 2 * x;
31/// ls = map double [ 1 2 3 ]; 31/// ls = map double [ 1 2 3 ];