mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
Reduce the scope of clippy exceptions
This prevents creation of new overly complex functions.
This commit is contained in:
committed by
holger krekel
parent
0f52f63863
commit
1732c3b350
@@ -175,6 +175,7 @@ impl<'a> MimeMessage<'a> {
|
||||
Ok(parser)
|
||||
}
|
||||
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
fn parse_headers(&mut self) -> Result<()> {
|
||||
if self.get(HeaderDef::AutocryptSetupMessage).is_some() {
|
||||
self.parts.drain_filter(|part| {
|
||||
|
||||
Reference in New Issue
Block a user