diff options
Diffstat (limited to '')
| -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));              }          } | 
