chore: fix compiler warnings

This commit is contained in:
link2xt
2023-07-21 09:33:59 +00:00
parent 0a50bad555
commit bc73c16df7
2 changed files with 2 additions and 2 deletions

View File

@@ -643,7 +643,7 @@ impl MimeMessage {
.parts
.iter_mut()
.find(|part| !part.msg.is_empty() && !part.is_reaction);
if let Some(mut part) = part_with_text {
if let Some(part) = part_with_text {
part.msg = format!("{} {}", subject, part.msg);
}
}