Skip to content

Commit 22be60b

Browse files
committed
fix indentation
1 parent a35734c commit 22be60b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/manual_assert.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ impl<'tcx> LateLintPass<'tcx> for ManualAssert {
5656
comments += "\n";
5757
}
5858
let (cond, not) = match cond.kind {
59-
ExprKind::Unary(UnOp::Not, e) => (e, ""),
60-
_ => (cond, "!"),
61-
};
59+
ExprKind::Unary(UnOp::Not, e) => (e, ""),
60+
_ => (cond, "!"),
61+
};
6262
let cond_sugg = sugg::Sugg::hir_with_applicability(cx, cond, "..", &mut applicability).maybe_par();
6363
let sugg = format!("assert!({not}{cond_sugg}, {format_args_snip});");
6464
// we show to the user the suggestion without the comments, but when applicating the fix, include the comments in the block

0 commit comments

Comments
 (0)