diff --git a/clippy_lints/src/misc.rs b/clippy_lints/src/misc.rs index c9c404c1740b1..50ae695f4c51c 100644 --- a/clippy_lints/src/misc.rs +++ b/clippy_lints/src/misc.rs @@ -152,8 +152,7 @@ declare_lint! { /// ```rust /// let _x = 0; /// let y = _x + 1; // Here we are using `_x`, even though it has a leading -/// underscore. -/// // We should rename `_x` to `x` +/// // underscore. We should rename `_x` to `x` /// ``` declare_lint! { pub USED_UNDERSCORE_BINDING, @@ -166,10 +165,8 @@ declare_lint! { /// statement. /// /// **Why is this bad?** Using a short circuit boolean condition as a statement -/// may -/// hide the fact that the second part is executed or not depending on the -/// outcome of -/// the first part. +/// may hide the fact that the second part is executed or not depending on the +/// outcome of the first part. /// /// **Known problems:** None. ///