Skip to content

Commit

Permalink
Change back to MaybeIncorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgerring committed Dec 3, 2024
1 parent 1ae910f commit d983222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/index_refutable_slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ fn lint_slice(cx: &LateContext<'_>, slice: &SliceLintInformation) {
diag.multipart_suggestion(
"replace the binding and indexed access with a slice pattern",
suggestions,
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
},
);
Expand Down

0 comments on commit d983222

Please sign in to comment.