mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Update clippy_lints/src/loops/needless_range_loop.rs
Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
This commit is contained in:
parent
4d266d31de
commit
3b225e3a96
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ pub(super) fn check<'tcx>(
|
|||
|diag| {
|
||||
multispan_sugg(
|
||||
diag,
|
||||
"consider using an iterator and enumerate",
|
||||
"consider using an iterator and enumerate()",
|
||||
vec![
|
||||
(pat.span, format!("({}, <item>)", ident.name)),
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue