diff options
Diffstat (limited to 'src/mail')
-rw-r--r-- | src/mail/mod.rs | 4 | ||||
-rw-r--r-- | src/mail/uidindex.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mail/mod.rs b/src/mail/mod.rs index 7c62c59..a130073 100644 --- a/src/mail/mod.rs +++ b/src/mail/mod.rs @@ -88,13 +88,13 @@ impl Mailbox { } // Insert an email in the mailbox - pub async fn append(&mut self, msg: IMF) -> Result<()> { + pub async fn append(&mut self, _msg: IMF) -> Result<()> { Ok(()) } // Copy an email from an external to this mailbox // @FIXME is it needed or could we implement it with append? - pub async fn copy(&mut self, mailbox: String, uid: ImapUid) -> Result<()> { + pub async fn copy(&mut self, _mailbox: String, _uid: ImapUid) -> Result<()> { Ok(()) } diff --git a/src/mail/uidindex.rs b/src/mail/uidindex.rs index 1e78d54..9ffa386 100644 --- a/src/mail/uidindex.rs +++ b/src/mail/uidindex.rs @@ -1,7 +1,7 @@ use std::num::NonZeroU32; -use im::{HashMap, HashSet, OrdMap, OrdSet}; -use serde::{de::Error, Deserialize, Deserializer, Serialize, Serializer}; +use im::{HashMap, OrdMap, OrdSet}; +use serde::{Deserialize, Deserializer, Serialize, Serializer}; use crate::bayou::*; use crate::mail::mail_ident::MailIdent; |