aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/bool_comparison.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/bool_comparison.rs
parent150106459f7a8e0325fe85c41919cc32f2f19964 (diff)
fix tests
Diffstat (limited to 'lib/src/lints/bool_comparison.rs')
-rw-r--r--lib/src/lints/bool_comparison.rs4
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(