diff --git a/src/bayou.rs b/src/bayou.rs index c6a7ac0..d77e9dc 100644 --- a/src/bayou.rs +++ b/src/bayou.rs @@ -152,7 +152,7 @@ impl Bayou { match &val[0] { storage::Alternative::Value(v) => { let op = open_deserialize::(v, &self.key)?; - debug!("(sync) operation {}: {:?}", sort_key, op); + tracing::trace!("(sync) operation {}: {:?}", sort_key, op); ops.push((ts, op)); } storage::Alternative::Tombstone => { 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> { - Ok(MessageDataItem::Body(mime_view::bodystructure( + Ok(MessageDataItem::BodyStructure(mime_view::bodystructure( self.content.as_msg()?.child.as_ref(), true, )?))