Skip to content

Commit

Permalink
Update documentation in filters.rs (#254)
Browse files Browse the repository at this point in the history
One of the examples for using the pluralize filter had the wrong variable name.
  • Loading branch information
tkeuning authored May 6, 2023
1 parent c4b48dc commit 9b11f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minijinja-contrib/src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use minijinja::{Error, ErrorKind};
/// ```
///
/// ```jinja
/// {{ entities|length }} entit{{ users|pluralize("y", "ies") }}.
/// {{ entities|length }} entit{{ entities|pluralize("y", "ies") }}.
/// ```
///
/// ```jinja
Expand Down

0 comments on commit 9b11f23

Please sign in to comment.