Improve lint message; add note for future autofixable updates
This commit is contained in:
parent
78ef0f2f6c
commit
2f8a8d3468
3 changed files with 9 additions and 7 deletions
|
|
@ -2051,7 +2051,7 @@ fn check_manual_flatten<'tcx>(
|
|||
);
|
||||
diag.span_help(
|
||||
inner_expr.span,
|
||||
"also remove the `if let` statement in the for loop",
|
||||
"...and remove the `if let` statement in the for loop",
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue