diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-29 12:52:58 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-29 12:52:58 +0200 |
commit | 3cf91429c7eb675639fbcbf006e04d790645cf77 (patch) | |
tree | fcf9590a98955063a63c5fcc58f4ae9764da1a28 /src/server.rs | |
parent | 90b143e1c57c6561998176878b2cc586b2d89c80 (diff) | |
download | aerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.tar.gz aerogramme-3cf91429c7eb675639fbcbf006e04d790645cf77.zip |
Clean up unused imports
Diffstat (limited to 'src/server.rs')
-rw-r--r-- | src/server.rs | 4 |
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); }; |