~matthiasbeyer/imag

5bb2f78bd433100cd59fc36aa348e179103afe57 — Matthias Beyer 4 months ago 939a31a reimplement-mail
Mark function to allow return let binding in clippy

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 files changed, 1 insertions(+), 0 deletions(-)

M bin/domain/imag-mail/src/import.rs
M bin/domain/imag-mail/src/import.rs => bin/domain/imag-mail/src/import.rs +1 -0
@@ 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"))?