aboutsummaryrefslogtreecommitdiff
path: root/src/imap/session.rs
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/imap/session.rs
parent90b143e1c57c6561998176878b2cc586b2d89c80 (diff)
downloadaerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.tar.gz
aerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.zip
Clean up unused imports
Diffstat (limited to 'src/imap/session.rs')
-rw-r--r--src/imap/session.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/session.rs b/src/imap/session.rs
index 72dd9d8..b7e2059 100644
--- a/src/imap/session.rs
+++ b/src/imap/session.rs
@@ -3,7 +3,7 @@ use boitalettres::errors::Error as BalError;
use boitalettres::proto::{Request, Response};
use futures::future::BoxFuture;
use futures::future::FutureExt;
-use imap_codec::types::response::{Response as ImapRes, Status};
+
use tokio::sync::mpsc::error::TrySendError;
use tokio::sync::{mpsc, oneshot};
@@ -32,7 +32,7 @@ impl Manager {
pub fn new(login_provider: ArcLoginProvider) -> Self {
let (tx, rx) = mpsc::channel(MAX_PIPELINED_COMMANDS);
tokio::spawn(async move {
- let mut instance = Instance::new(login_provider, rx);
+ let instance = Instance::new(login_provider, rx);
instance.start().await;
});
Self { tx }