Fixed typo in header.rs (#105)

This commit is contained in:
andreadev-it
2025-03-24 10:10:09 +01:00
committed by GitHub
parent b29325709a
commit 0a07a6f3d4
+1 -1
View File
@@ -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(_))
}