Skip to content

Commit d983222

Browse files
committed
Change back to MaybeIncorrect
1 parent 1ae910f commit d983222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/index_refutable_slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ fn lint_slice(cx: &LateContext<'_>, slice: &SliceLintInformation) {
171171
diag.multipart_suggestion(
172172
"replace the binding and indexed access with a slice pattern",
173173
suggestions,
174-
Applicability::MachineApplicable,
174+
Applicability::MaybeIncorrect,
175175
);
176176
},
177177
);

0 commit comments

Comments
 (0)