Skip to content

Commit 3b225e3

Browse files
tylerjwManishearth
andauthored
Update clippy_lints/src/loops/needless_range_loop.rs
Co-authored-by: Manish Goregaokar <[email protected]>
1 parent 4d266d3 commit 3b225e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/loops/needless_range_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ pub(super) fn check<'tcx>(
149149
|diag| {
150150
multispan_sugg(
151151
diag,
152-
"consider using an iterator and enumerate",
152+
"consider using an iterator and enumerate()",
153153
vec![
154154
(pat.span, format!("({}, <item>)", ident.name)),
155155
(

0 commit comments

Comments
 (0)