diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-29 16:05:34 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-29 16:05:34 +0200 |
commit | 733c59ed8060f8903d723635ed2e7c13ccca7974 (patch) | |
tree | 0090b72c1c347a7168a825341683481f0d1845cc /src/imap/command/authenticated.rs | |
parent | 9ef069923bbf7358caf1f2739befe20adbdca760 (diff) | |
download | aerogramme-733c59ed8060f8903d723635ed2e7c13ccca7974.tar.gz aerogramme-733c59ed8060f8903d723635ed2e7c13ccca7974.zip |
Cleanup and remove useless imports
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r-- | src/imap/command/authenticated.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs index 443edda..8e8d969 100644 --- a/src/imap/command/authenticated.rs +++ b/src/imap/command/authenticated.rs @@ -1,16 +1,13 @@ -use anyhow::{Error, Result}; -use boitalettres::proto::{res::body::Data as Body, Request, Response}; +use anyhow::Result; +use boitalettres::proto::{Request, Response}; use imap_codec::types::command::CommandBody; -use imap_codec::types::core::Atom; -use imap_codec::types::flag::Flag; use imap_codec::types::mailbox::{ListMailbox, Mailbox as MailboxCodec}; -use imap_codec::types::response::{Code, Data, Status}; +use imap_codec::types::response::Code; use crate::imap::command::anonymous; use crate::imap::flow; use crate::imap::mailbox_view::MailboxView; -use crate::mail::mailbox::Mailbox; use crate::mail::user::User; pub struct AuthenticatedContext<'a> { |