Skip to content

Commit

Permalink
Avoid unmatched scope stack manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Oct 9, 2024
1 parent aa28384 commit 3c7389f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions askama_derive/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ impl<'a> Generator<'a> {
}

buf.writeln("}")?;
self.locals.pop();

Ok(flushed + ((size_hint1 * 3) + size_hint2) / 2)
}
Expand Down

0 comments on commit 3c7389f

Please sign in to comment.