mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
Move index_refutable_slice to pedantic
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user