diff options
author | Akshay <[email protected]> | 2021-11-01 02:19:14 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-11-01 02:19:14 +0000 |
commit | 4b0324d22f50ffde4ce8d109a4f2e0d75e4ec40f (patch) | |
tree | 66e2ddbf63f214d9410cd08530a7aac7f2ea1d95 /lib/src/lints/legacy_let_syntax.rs | |
parent | 150106459f7a8e0325fe85c41919cc32f2f19964 (diff) | |
parent | 78dda5ec5a637b7756ae17d69ff90cf5de210404 (diff) |
Merge branch 'fix-tests'
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; |