Skip to content

Commit aac6e59

Browse files
committed
delete unneeded variable
1 parent 5b1e583 commit aac6e59

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/parsers/message.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,7 @@ impl MessageParser {
341341
(Cow::Borrowed(bytes), None) => String::from_utf8_lossy(bytes),
342342
};
343343

344-
let is_html = mime_type == MimeType::TextHtml;
345-
346-
if is_html {
344+
if mime_type == MimeType::TextHtml {
347345
PartType::Html(text)
348346
} else {
349347
PartType::Text(text)

0 commit comments

Comments
 (0)