mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-28 16:01:16 +00:00
Fixed typo in header.rs (#105)
This commit is contained in:
+1
-1
@@ -656,7 +656,7 @@ impl<'x> MessagePart<'x> {
|
||||
matches!(self.body, PartType::Text(_) | PartType::Html(_))
|
||||
}
|
||||
|
||||
/// Returns `true` when the body part MIME type is text/tml
|
||||
/// Returns `true` when the body part MIME type is text/html
|
||||
pub fn is_text_html(&self) -> bool {
|
||||
matches!(self.body, PartType::Html(_))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user