Skip to content

Commit

Permalink
refactor: remove unused allow(clippy::indexing_slicing) for heuristic…
Browse files Browse the repository at this point in the history
…ally_parse_ndn
  • Loading branch information
link2xt committed Nov 18, 2024
1 parent 0cdd9b4 commit e7e5a4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mimeparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e7e5a4c

Please sign in to comment.