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/bool_comparison.rs | |
parent | 150106459f7a8e0325fe85c41919cc32f2f19964 (diff) |
fix tests
Diffstat (limited to 'lib/src/lints/bool_comparison.rs')
-rw-r--r-- | lib/src/lints/bool_comparison.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/bool_comparison.rs b/lib/src/lints/bool_comparison.rs index 5c9bee8..ed1e8bb 100644 --- a/lib/src/lints/bool_comparison.rs +++ b/lib/src/lints/bool_comparison.rs | |||
@@ -17,13 +17,13 @@ use rnix::{ | |||
17 | /// ## Example | 17 | /// ## Example |
18 | /// Instead of checking the value of `x`: | 18 | /// Instead of checking the value of `x`: |
19 | /// | 19 | /// |
20 | /// ``` | 20 | /// ```nix |
21 | /// if x == true then 0 else 1 | 21 | /// if x == true then 0 else 1 |
22 | /// ``` | 22 | /// ``` |
23 | /// | 23 | /// |
24 | /// Use `x` directly: | 24 | /// Use `x` directly: |
25 | /// | 25 | /// |
26 | /// ``` | 26 | /// ```nix |
27 | /// if x then 0 else 1 | 27 | /// if x then 0 else 1 |
28 | /// ``` | 28 | /// ``` |
29 | #[lint( | 29 | #[lint( |