diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-09-02 16:02:10 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-09-02 16:02:10 +0200 |
commit | 6aa485ec0892125e9b67085afb400bc9e27e6a8d (patch) | |
tree | 6ae6542c20b7dccaba66244505666f3546217720 /askama_derive/src/lib.rs | |
parent | f29c12f469ccb76ed06aff6d6dc037dfd7dd2406 (diff) | |
download | askama-6aa485ec0892125e9b67085afb400bc9e27e6a8d.tar.gz askama-6aa485ec0892125e9b67085afb400bc9e27e6a8d.tar.bz2 askama-6aa485ec0892125e9b67085afb400bc9e27e6a8d.zip |
Fix formatting with cargo fmt
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index f977b19..5591b82 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -103,7 +103,8 @@ impl<'a> Heritage<'a> { mut ctx: &'n Context<'n>, contexts: &'n HashMap<&'n PathBuf, Context<'n>>, ) -> Heritage<'n> { - let mut blocks: BlockAncestry<'n> = ctx.blocks + let mut blocks: BlockAncestry<'n> = ctx + .blocks .iter() .map(|(name, def)| (*name, vec![(ctx, *def)])) .collect(); |