aboutsummaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-17 10:42:02 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-17 10:42:02 +0200
commit212573b4b1b2a6ebe86a5ae0795433c85cfd2741 (patch)
treed02335ee36815f0e724f48b9c73d3577d7d89ccf /src/session.rs
parent5599901b3b99700bee872877f88c8100f5e3ff47 (diff)
downloadaerogramme-212573b4b1b2a6ebe86a5ae0795433c85cfd2741.tar.gz
aerogramme-212573b4b1b2a6ebe86a5ae0795433c85cfd2741.zip
Handle CTRL+C for IMAP
Diffstat (limited to 'src/session.rs')
-rw-r--r--src/session.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs
index a3e4e24..a709986 100644
--- a/src/session.rs
+++ b/src/session.rs
@@ -84,7 +84,10 @@ pub struct Instance {
pub user: Option<User>,
}
impl Instance {
- fn new(login_provider: Arc<dyn LoginProvider + Send + Sync>, rx: mpsc::Receiver<Message>) -> Self {
+ fn new(
+ login_provider: Arc<dyn LoginProvider + Send + Sync>,
+ rx: mpsc::Receiver<Message>,
+ ) -> Self {
Self {
login_provider,
rx,