Skip to content

Commit 56f315a

Browse files
authored
Update unused_enumerate_index.rs
1 parent c939c57 commit 56f315a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/loops/unused_enumerate_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>, arg: &'tcx
1414
return;
1515
};
1616

17-
let ExprKind::MethodCall(method, self_arg, [], _) = arg.kind else {
17+
let ExprKind::MethodCall(_method, self_arg, [], _) = arg.kind else {
1818
return;
1919
};
2020

0 commit comments

Comments
 (0)