diff --git a/clippy_lints/src/needless_bool.rs b/clippy_lints/src/needless_bool.rs index 33638fe3734..a4eec95b371 100644 --- a/clippy_lints/src/needless_bool.rs +++ b/clippy_lints/src/needless_bool.rs @@ -34,11 +34,10 @@ declare_clippy_lint! { /// # let x = true; /// if x { /// false - /// # ; /// } else { /// true - /// # ; /// } + /// # ; /// ``` /// /// Use instead: