diff options
Diffstat (limited to 'lib/src/lints/legacy_let_syntax.rs')
-rw-r--r-- | lib/src/lints/legacy_let_syntax.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/legacy_let_syntax.rs b/lib/src/lints/legacy_let_syntax.rs index 139f633..cdd012d 100644 --- a/lib/src/lints/legacy_let_syntax.rs +++ b/lib/src/lints/legacy_let_syntax.rs | |||
@@ -17,7 +17,7 @@ use rnix::{ | |||
17 | /// | 17 | /// |
18 | /// Legacy let syntax makes use of an attribute set annotated with | 18 | /// Legacy let syntax makes use of an attribute set annotated with |
19 | /// `let` and expects a `body` attribute. | 19 | /// `let` and expects a `body` attribute. |
20 | /// ``` | 20 | /// ```nix |
21 | /// let { | 21 | /// let { |
22 | /// body = x + y; | 22 | /// body = x + y; |
23 | /// x = 2; | 23 | /// x = 2; |
@@ -28,7 +28,7 @@ use rnix::{ | |||
28 | /// This is trivially representible via `rec`, which is documented | 28 | /// This is trivially representible via `rec`, which is documented |
29 | /// and more widely known: | 29 | /// and more widely known: |
30 | /// | 30 | /// |
31 | /// ``` | 31 | /// ```nix |
32 | /// rec { | 32 | /// rec { |
33 | /// body = x + y; | 33 | /// body = x + y; |
34 | /// x = 2; | 34 | /// x = 2; |