summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-06-04 11:41:12 +0200
committerMatthias Beyer <mail@beyermatthias.de>2020-06-04 11:57:06 +0200
commit5bb2f78bd433100cd59fc36aa348e179103afe57 (patch)
tree362735ccb301101004ee6da79aa6944a966f35ce
parent939a31ad2b3cb18074b51a1659b1f79f9cd6bd3b (diff)
Mark function to allow return let binding in clippyreimplement-mail
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/domain/imag-mail/src/import.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/domain/imag-mail/src/import.rs b/bin/domain/imag-mail/src/import.rs
index 48bd9567..aded73be 100644
--- a/bin/domain/imag-mail/src/import.rs
+++ b/bin/domain/imag-mail/src/import.rs
@@ -27,6 +27,7 @@ use libimagentrytag::tag::is_tag_str;
use config::MailConfig;
+#[allow(clippy::let_and_return)]
pub fn import(rt: &Runtime) -> Result<()> {
let config = rt.config()
.ok_or_else(|| anyhow!("Configuration missing"))?