Skip to content

Commit 649ac36

Browse files
committed
Fix [needless_bool] example
1 parent 0e07f55 commit 649ac36

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/needless_bool.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ declare_clippy_lint! {
3434
/// # let x = true;
3535
/// if x {
3636
/// false
37-
/// # ;
3837
/// } else {
3938
/// true
40-
/// # ;
4139
/// }
40+
/// # ;
4241
/// ```
4342
///
4443
/// Use instead:

0 commit comments

Comments
 (0)