Move index_refutable_slice to pedantic

This commit is contained in:
xFrednet 2022-11-28 20:23:09 +01:00
parent 12074808c7
commit 6bbf16660b
No known key found for this signature in database
GPG Key ID: F5C59D0E669E5302

View File

@ -47,7 +47,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.59.0"]
pub INDEX_REFUTABLE_SLICE,
nursery,
pedantic,
"avoid indexing on slices which could be destructed"
}