aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-29 12:52:58 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-29 12:52:58 +0200
commit3cf91429c7eb675639fbcbf006e04d790645cf77 (patch)
treefcf9590a98955063a63c5fcc58f4ae9764da1a28 /src/mail
parent90b143e1c57c6561998176878b2cc586b2d89c80 (diff)
downloadaerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.tar.gz
aerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.zip
Clean up unused imports
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/mod.rs4
-rw-r--r--src/mail/uidindex.rs4
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;