Closed GuillaumeGomez closed 4 months ago
Fixes https://github.com/djc/askama/issues/1018.
Now if a char is invalid, it will fail at parsing-time and not at compile-time anymore.
char
And fixed clippy lints. :)
Transformed the function into a closure and now map the error on failure.
Reworked as suggested.
Thanks for the reviews!
Fixes https://github.com/djc/askama/issues/1018.
Now if a
char
is invalid, it will fail at parsing-time and not at compile-time anymore.