From c7a66e87f236d4bce2a4b442d107ff5250534f8a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 23 Apr 2020 13:54:09 +0200 Subject: Fix formatting with cargo fmt --- askama_shared/src/heritage.rs | 5 +---- 1 file changed, 1 insertion(+), 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)); } } -- cgit