mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
Remove explicit .iter() and .iter_mut() calls in for loops
This commit is contained in:
@@ -485,7 +485,7 @@ impl<'a> MimeFactory<'a> {
|
||||
None
|
||||
};
|
||||
|
||||
for (name, addr) in self.recipients.iter() {
|
||||
for (name, addr) in &self.recipients {
|
||||
if let Some(email_to_remove) = email_to_remove {
|
||||
if email_to_remove == addr {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user