Skip to content

Commit 3ab268b

Browse files
committed
delete unneeded variable
1 parent 291e89a commit 3ab268b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/parsers/message.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,7 @@ impl MessageParser {
334334
(Cow::Borrowed(bytes), None) => String::from_utf8_lossy(bytes),
335335
};
336336

337-
let is_html = mime_type == MimeType::TextHtml;
338-
339-
if is_html {
337+
if mime_type == MimeType::TextHtml {
340338
PartType::Html(text)
341339
} else {
342340
PartType::Text(text)

0 commit comments

Comments
 (0)