aboutsummaryrefslogtreecommitdiff
path: root/src/imap
diff options
context:
space:
mode:
Diffstat (limited to 'src/imap')
-rw-r--r--src/imap/mail_view.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/mail_view.rs b/src/imap/mail_view.rs
index 6a6bede..879166d 100644
--- a/src/imap/mail_view.rs
+++ b/src/imap/mail_view.rs
@@ -190,7 +190,7 @@ impl<'a> MailView<'a> {
}
fn body_structure(&self) -> Result<MessageDataItem<'static>> {
- Ok(MessageDataItem::Body(mime_view::bodystructure(
+ Ok(MessageDataItem::BodyStructure(mime_view::bodystructure(
self.content.as_msg()?.child.as_ref(),
true,
)?))