From 689fc603d5f714d0e1ef8d07a625be14936e4149 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 10 Jul 2018 14:37:11 +0100 Subject: Fix formatting with cargo fmt --- askama_derive/src/generator.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); } } -- cgit