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/eta_reduction.rs | |
parent | 150106459f7a8e0325fe85c41919cc32f2f19964 (diff) |
fix tests
Diffstat (limited to 'lib/src/lints/eta_reduction.rs')
-rw-r--r-- | lib/src/lints/eta_reduction.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/eta_reduction.rs b/lib/src/lints/eta_reduction.rs index 3a483d0..9df3f1e 100644 --- a/lib/src/lints/eta_reduction.rs +++ b/lib/src/lints/eta_reduction.rs | |||
@@ -17,7 +17,7 @@ use rnix::{ | |||
17 | /// | 17 | /// |
18 | /// ## Example | 18 | /// ## Example |
19 | /// | 19 | /// |
20 | /// ``` | 20 | /// ```nix |
21 | /// let | 21 | /// let |
22 | /// double = i: 2 * i; | 22 | /// double = i: 2 * i; |
23 | /// in | 23 | /// in |
@@ -27,7 +27,7 @@ use rnix::{ | |||
27 | /// The lambda passed to the `map` function is eta-reducible, and the | 27 | /// The lambda passed to the `map` function is eta-reducible, and the |
28 | /// result reads more naturally: | 28 | /// result reads more naturally: |
29 | /// | 29 | /// |
30 | /// ``` | 30 | /// ```nix |
31 | /// let | 31 | /// let |
32 | /// double = i: 2 * i; | 32 | /// double = i: 2 * i; |
33 | /// in | 33 | /// in |