diff options
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 |