From 3cf91429c7eb675639fbcbf006e04d790645cf77 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 29 Jun 2022 12:52:58 +0200 Subject: Clean up unused imports --- src/mail/mod.rs | 4 ++-- src/mail/uidindex.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mail') 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; -- cgit v1.2.3