aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/legacy_let_syntax.rs
diff options
context:
space:
mode:
authorfigsoda <[email protected]>2021-11-01 00:45:57 +0000
committerfigsoda <[email protected]>2021-11-01 00:45:57 +0000
commit78dda5ec5a637b7756ae17d69ff90cf5de210404 (patch)
tree66e2ddbf63f214d9410cd08530a7aac7f2ea1d95 /lib/src/lints/legacy_let_syntax.rs
parent150106459f7a8e0325fe85c41919cc32f2f19964 (diff)
fix tests
Diffstat (limited to 'lib/src/lints/legacy_let_syntax.rs')
-rw-r--r--lib/src/lints/legacy_let_syntax.rs4
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;