Skip to content

Commit

Permalink
Small documentation formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarton committed Jan 20, 2018
1 parent e642887 commit eb009e2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions clippy_lints/src/misc.rs
Expand Up @@ -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,
Expand All @@ -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.
///
Expand Down

0 comments on commit eb009e2

Please sign in to comment.