Skip to content

Commit

Permalink
Fix [needless_bool] example
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Jun 9, 2022
1 parent 0e07f55 commit 649ac36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clippy_lints/src/needless_bool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ declare_clippy_lint! {
/// # let x = true;
/// if x {
/// false
/// # ;
/// } else {
/// true
/// # ;
/// }
/// # ;
/// ```
///
/// Use instead:
Expand Down

0 comments on commit 649ac36

Please sign in to comment.