diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-07-10 14:37:11 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-07-10 14:37:11 +0100 |
commit | 689fc603d5f714d0e1ef8d07a625be14936e4149 (patch) | |
tree | f2126940420ba1046061cb84c8ec6cd7f867e00c /askama_derive/src/generator.rs | |
parent | b5b1589093b96efdb8a80d6045dcfb4950d2632c (diff) | |
download | askama-689fc603d5f714d0e1ef8d07a625be14936e4149.tar.gz askama-689fc603d5f714d0e1ef8d07a625be14936e4149.tar.bz2 askama-689fc603d5f714d0e1ef8d07a625be14936e4149.zip |
Fix formatting with cargo fmt
Diffstat (limited to 'askama_derive/src/generator.rs')
-rw-r--r-- | askama_derive/src/generator.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index c8e6c4d..3fce6c9 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -983,7 +983,10 @@ impl<'a> Heritage<'a> { while let Some(ref path) = ctx.extends { ctx = &contexts[&path]; for (name, def) in &ctx.blocks { - blocks.entry(name).or_insert_with(|| vec![]).push((ctx, def)); + blocks + .entry(name) + .or_insert_with(|| vec![]) + .push((ctx, def)); } } |