mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
refactor: forbid clippy::indexing_slicing
It is impossible to allow this in the new code now.
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
clippy::explicit_into_iter_loop,
|
clippy::explicit_into_iter_loop,
|
||||||
clippy::cloned_instead_of_copied
|
clippy::cloned_instead_of_copied
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(test), warn(clippy::indexing_slicing))]
|
#![cfg_attr(not(test), forbid(clippy::indexing_slicing))]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::match_bool,
|
clippy::match_bool,
|
||||||
clippy::mixed_read_write_in_expression,
|
clippy::mixed_read_write_in_expression,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#![recursion_limit = "256"]
|
#![recursion_limit = "256"]
|
||||||
|
#![cfg_attr(not(test), forbid(clippy::indexing_slicing))]
|
||||||
pub mod api;
|
pub mod api;
|
||||||
pub use yerpc;
|
pub use yerpc;
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
//! is assumed to be set to "no".
|
//! is assumed to be set to "no".
|
||||||
//!
|
//!
|
||||||
//! For received messages, DelSp parameter is honoured.
|
//! For received messages, DelSp parameter is honoured.
|
||||||
|
#![cfg_attr(not(test), forbid(clippy::indexing_slicing))]
|
||||||
|
|
||||||
/// Wraps line to 72 characters using format=flowed soft breaks.
|
/// Wraps line to 72 characters using format=flowed soft breaks.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
clippy::explicit_into_iter_loop,
|
clippy::explicit_into_iter_loop,
|
||||||
clippy::cloned_instead_of_copied
|
clippy::cloned_instead_of_copied
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(test), warn(clippy::indexing_slicing))]
|
#![cfg_attr(not(test), forbid(clippy::indexing_slicing))]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::match_bool,
|
clippy::match_bool,
|
||||||
clippy::mixed_read_write_in_expression,
|
clippy::mixed_read_write_in_expression,
|
||||||
|
|||||||
Reference in New Issue
Block a user