refactor: forbid clippy::indexing_slicing

It is impossible to allow this in the new code now.
This commit is contained in:
link2xt
2024-11-18 20:11:16 +00:00
committed by l
parent a5d336fafc
commit 3235c8bc9f
4 changed files with 4 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
clippy::explicit_into_iter_loop,
clippy::cloned_instead_of_copied
)]
#![cfg_attr(not(test), warn(clippy::indexing_slicing))]
#![cfg_attr(not(test), forbid(clippy::indexing_slicing))]
#![allow(
clippy::match_bool,
clippy::mixed_read_write_in_expression,