djc / askama

Type-safe, compiled Jinja-like templates for Rust
Apache License 2.0
3.47k stars 219 forks source link

Allow trailing comma in macro definition and call #928

Closed GuillaumeGomez closed 11 months ago

GuillaumeGomez commented 11 months ago

Quite convenient when arguments are on different lines.

(First commit comes from https://github.com/djc/askama/pull/925, it will prevent to have a merge conflict once the first one will be merged)

GuillaumeGomez commented 11 months ago

Rebased.