Skip to content

Commit bfb973f

Browse files
committed
Auto merge of #9975 - xFrednet:0000-refutable-slice-pedantic, r=llogiq
Move `index_refutable_slice` to `pedantic` During the creation, I out this lint into the nursery group to let it run in the wild before moving it to a commonly used group. This move never happened until now, though. It should be safe, as Clippy and I have been using it for months and there are no open issues for is :) --- changelog: Move `index_refutable_slice` to `pedantic` (Now warn-by-default) [#9975](#9975)
2 parents 4cda21d + 6bbf166 commit bfb973f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/index_refutable_slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ declare_clippy_lint! {
4747
/// ```
4848
#[clippy::version = "1.59.0"]
4949
pub INDEX_REFUTABLE_SLICE,
50-
nursery,
50+
pedantic,
5151
"avoid indexing on slices which could be destructed"
5252
}
5353

0 commit comments

Comments
 (0)