Fix [needless_bool] example
This commit is contained in:
@@ -34,11 +34,10 @@ declare_clippy_lint! {
|
||||
/// # let x = true;
|
||||
/// if x {
|
||||
/// false
|
||||
/// # ;
|
||||
/// } else {
|
||||
/// true
|
||||
/// # ;
|
||||
/// }
|
||||
/// # ;
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
|
||||
Reference in New Issue
Block a user