diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-10-06 14:12:59 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-10-07 07:37:46 +0200 |
commit | 6e6691b06b2792108bef8fc2da142bb10e3f9dba (patch) | |
tree | e54288cd4660fb1f42d68da10113fc7fd325c40d | |
parent | a7d4cc0670511ffab181f59dd5196962e8f4f659 (diff) | |
download | askama-6e6691b06b2792108bef8fc2da142bb10e3f9dba.tar.gz askama-6e6691b06b2792108bef8fc2da142bb10e3f9dba.tar.bz2 askama-6e6691b06b2792108bef8fc2da142bb10e3f9dba.zip |
Remove unnecessary type declaration
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Syntax> = BTreeMap::new(); + let mut syntaxes = BTreeMap::new(); syntaxes.insert(DEFAULT_SYNTAX_NAME.to_string(), Syntax::default()); let raw: RawConfig = |