diff options
author | figsoda <[email protected]> | 2021-11-01 00:45:57 +0000 |
---|---|---|
committer | figsoda <[email protected]> | 2021-11-01 00:45:57 +0000 |
commit | 78dda5ec5a637b7756ae17d69ff90cf5de210404 (patch) | |
tree | 66e2ddbf63f214d9410cd08530a7aac7f2ea1d95 /lib/src/lints/useless_parens.rs | |
parent | 150106459f7a8e0325fe85c41919cc32f2f19964 (diff) |
fix tests
Diffstat (limited to 'lib/src/lints/useless_parens.rs')
-rw-r--r-- | lib/src/lints/useless_parens.rs | 4 |
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 ]; |