diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-04-23 13:54:09 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-04-23 13:54:09 +0200 |
commit | c7a66e87f236d4bce2a4b442d107ff5250534f8a (patch) | |
tree | 73558efc752143c2a025e9f5c692e06d11f809bc /askama_shared | |
parent | a3331efa827de4020c66dafd1b425983591a55f3 (diff) | |
download | askama-c7a66e87f236d4bce2a4b442d107ff5250534f8a.tar.gz askama-c7a66e87f236d4bce2a4b442d107ff5250534f8a.tar.bz2 askama-c7a66e87f236d4bce2a4b442d107ff5250534f8a.zip |
Fix formatting with cargo fmt
Diffstat (limited to 'askama_shared')
-rw-r--r-- | askama_shared/src/heritage.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/askama_shared/src/heritage.rs b/askama_shared/src/heritage.rs index e2aace6..554fbfd 100644 --- a/askama_shared/src/heritage.rs +++ b/askama_shared/src/heritage.rs @@ -23,10 +23,7 @@ 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::new) - .push((ctx, def)); + blocks.entry(name).or_insert_with(Vec::new).push((ctx, def)); } } |