Allow clippy::needless_range_loop only in simplify_plain_text

This commit is contained in:
Alexander Krotov
2019-12-13 19:44:58 +03:00
parent f9ba9ae912
commit 69f5fd86a4
2 changed files with 2 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ impl Simplify {
/**
* 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 {
/* This function ...
... removes all text after the line `-- ` (footer mark)