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/imap/session.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imap/session.rs') 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 } -- cgit v1.2.3