Skip to content

Commit 585c8ed

Browse files
committed
fix formatting
1 parent 34cb456 commit 585c8ed

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

clippy_lints/src/types.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1104,9 +1104,7 @@ fn is_empty_block(expr: &Expr<'_>) -> bool {
11041104
expr.kind,
11051105
ExprKind::Block(
11061106
Block {
1107-
stmts: &[],
1108-
expr: None,
1109-
..
1107+
stmts: &[], expr: None, ..
11101108
},
11111109
_,
11121110
)

tests/ui/min_rust_version_attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn main() {
129129
use_self();
130130
replace_with_default();
131131
map_unwrap_or();
132-
missing_const_for_fn();
132+
missing_const_for_fn();
133133
}
134134

135135
mod meets_msrv {

0 commit comments

Comments
 (0)