From 0a07a6f3d424f53895faa9833bdb7e8d0808f1cb Mon Sep 17 00:00:00 2001 From: andreadev-it <68549121+andreadev-it@users.noreply.github.com> Date: Mon, 24 Mar 2025 10:10:09 +0100 Subject: [PATCH] Fixed typo in header.rs (#105) --- src/core/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/header.rs b/src/core/header.rs index bf2537d..fb34e19 100644 --- a/src/core/header.rs +++ b/src/core/header.rs @@ -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(_)) }