Fix [needless_bool] example

This commit is contained in:
Serial 2022-06-09 06:54:01 -04:00
parent 0e07f55ceb
commit 649ac36836

View File

@ -34,11 +34,10 @@ declare_clippy_lint! {
/// # let x = true; /// # let x = true;
/// if x { /// if x {
/// false /// false
/// # ;
/// } else { /// } else {
/// true /// true
/// # ;
/// } /// }
/// # ;
/// ``` /// ```
/// ///
/// Use instead: /// Use instead: