Skip to content

Commit 0a0792e

Browse files
author
Grzegorz Bartoszek
committed
formatting fix
1 parent adce3ef commit 0a0792e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_bool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fn parent_node_is_if_expr<'a, 'b>(expr: &Expr, cx: &LateContext<'a, 'b>) -> bool
130130

131131
if let rustc::hir::Node::Expr(e) = parent_node {
132132
if let ExprKind::If(_,_,_) = e.node {
133-
return true;
133+
return true;
134134
}
135135
}
136136

0 commit comments

Comments
 (0)