aboutsummaryrefslogtreecommitdiff
path: root/src/server.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/server.rs
parent90b143e1c57c6561998176878b2cc586b2d89c80 (diff)
downloadaerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.tar.gz
aerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.zip
Clean up unused imports
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.rs b/src/server.rs
index 9b83ad4..2cc481c 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -10,7 +10,7 @@ use crate::config::*;
use crate::imap;
use crate::lmtp::*;
use crate::login::ArcLoginProvider;
-use crate::login::{ldap_provider::*, static_provider::*, *};
+use crate::login::{ldap_provider::*, static_provider::*};
pub struct Server {
lmtp_server: Option<Arc<LmtpServer>>,
@@ -37,7 +37,7 @@ impl Server {
tracing::info!("Starting Aerogramme...");
let (exit_signal, provoke_exit) = watch_ctrl_c();
- let exit_on_err = move |err: anyhow::Error| {
+ let _exit_on_err = move |err: anyhow::Error| {
error!("Error: {}", err);
let _ = provoke_exit.send(true);
};