From 6e6691b06b2792108bef8fc2da142bb10e3f9dba Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sat, 6 Oct 2018 14:12:59 +0200 Subject: Remove unnecessary type declaration --- askama_shared/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 7db62b5..5d8b85f 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -34,7 +34,7 @@ impl<'a> Config<'a> { let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap()); let default = vec![root.join("templates")]; - let mut syntaxes: BTreeMap = BTreeMap::new(); + let mut syntaxes = BTreeMap::new(); syntaxes.insert(DEFAULT_SYNTAX_NAME.to_string(), Syntax::default()); let raw: RawConfig = -- cgit