aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/bool_comparison.rs
diff options
context:
space:
mode:
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(