diff --git a/src/config.rs b/src/config.rs index ad32be7..56b9943 100644 --- a/src/config.rs +++ b/src/config.rs @@ -66,7 +66,6 @@ pub fn load(file_path: &str) -> Result { Handlebars::new() .render_template(&config.dn, &json!({"username" : "foo"})) - .map(|_| ()) .with_context(|| format!( "Failed to render DN ({}) from configuration file '{}'", config.dn,