Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c58d692

Browse files
fix: 7125 update lint applicability to Unspecified
1 parent 447edf9 commit c58d692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/loops/single_element_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub(super) fn check<'tcx>(
9696
"for loop over a single range inside an array, rather than iterating over the elements in the range directly",
9797
"did you mean to iterate over the range instead?",
9898
sugg.to_string(),
99-
applicability,
99+
Applicability::Unspecified,
100100
);
101101
} else {
102102
span_lint_and_sugg(

0 commit comments

Comments
 (0)