From e7e5a4c2cc2193a58df17dc40697228faedee1e0 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 18 Nov 2024 19:00:26 +0000 Subject: [PATCH] refactor: remove unused allow(clippy::indexing_slicing) for heuristically_parse_ndn --- src/mimeparser.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mimeparser.rs b/src/mimeparser.rs index 4218ea6d74..5a435a14cc 100644 --- a/src/mimeparser.rs +++ b/src/mimeparser.rs @@ -1753,7 +1753,6 @@ impl MimeMessage { /// Some providers like GMX and Yahoo do not send standard NDNs (Non Delivery notifications). /// If you improve heuristics here you might also have to change prefetch_should_download() in imap/mod.rs. /// Also you should add a test in receive_imf.rs (there already are lots of test_parse_ndn_* tests). - #[allow(clippy::indexing_slicing)] async fn heuristically_parse_ndn(&mut self, context: &Context) { let maybe_ndn = if let Some(from) = self.get_header(HeaderDef::From_) { let from = from.to_ascii_lowercase();