Skip to content

Commit 3f5317a

Browse files
committed
fix: add a newline
1 parent d1caa9c commit 3f5317a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/loops/manual_flatten.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub(super) fn check<'tcx>(
4242
})
4343
{
4444
let if_let_type = if some_ctor { "Some" } else { "Ok" };
45+
4546
// Prepare the error message
4647
let msg =
4748
format!("unnecessary `if let` since only the `{if_let_type}` variant of the iterator element is used");

0 commit comments

Comments
 (0)