mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 06:46:32 +03:00
Allow clippy::needless_range_loop only in simplify_plain_text
This commit is contained in:
@@ -49,7 +49,7 @@ impl Simplify {
|
|||||||
/**
|
/**
|
||||||
* Simplify Plain Text
|
* Simplify Plain Text
|
||||||
*/
|
*/
|
||||||
#[allow(non_snake_case, clippy::mut_range_bound)]
|
#[allow(non_snake_case, clippy::mut_range_bound, clippy::needless_range_loop)]
|
||||||
fn simplify_plain_text(&mut self, buf_terminated: &str, is_msgrmsg: bool) -> String {
|
fn simplify_plain_text(&mut self, buf_terminated: &str, is_msgrmsg: bool) -> String {
|
||||||
/* This function ...
|
/* This function ...
|
||||||
... removes all text after the line `-- ` (footer mark)
|
... removes all text after the line `-- ` (footer mark)
|
||||||
|
|||||||
@@ -5,11 +5,7 @@
|
|||||||
clippy::cognitive_complexity,
|
clippy::cognitive_complexity,
|
||||||
clippy::too_many_arguments
|
clippy::too_many_arguments
|
||||||
)]
|
)]
|
||||||
#![allow(
|
#![allow(clippy::unreadable_literal, clippy::match_bool)]
|
||||||
clippy::unreadable_literal,
|
|
||||||
clippy::needless_range_loop,
|
|
||||||
clippy::match_bool
|
|
||||||
)]
|
|
||||||
#![feature(ptr_wrapping_offset_from)]
|
#![feature(ptr_wrapping_offset_from)]
|
||||||
#![feature(drain_filter)]
|
#![feature(drain_filter)]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user