mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +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| {
|
|diag| {
|
||||||
multispan_sugg(
|
multispan_sugg(
|
||||||
diag,
|
diag,
|
||||||
"consider using an iterator and enumerate",
|
"consider using an iterator and enumerate()",
|
||||||
vec![
|
vec![
|
||||||
(pat.span, format!("({}, <item>)", ident.name)),
|
(pat.span, format!("({}, <item>)", ident.name)),
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue