From 9b11f23683a1d689658a9399d053d0ab1c5707b6 Mon Sep 17 00:00:00 2001 From: Tim Keuning Date: Sat, 6 May 2023 16:52:20 -0500 Subject: [PATCH] Update documentation in filters.rs (#254) One of the examples for using the pluralize filter had the wrong variable name. --- minijinja-contrib/src/filters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minijinja-contrib/src/filters.rs b/minijinja-contrib/src/filters.rs index 1eb03b5f..cdfcc891 100644 --- a/minijinja-contrib/src/filters.rs +++ b/minijinja-contrib/src/filters.rs @@ -18,7 +18,7 @@ use minijinja::{Error, ErrorKind}; /// ``` /// /// ```jinja -/// {{ entities|length }} entit{{ users|pluralize("y", "ies") }}. +/// {{ entities|length }} entit{{ entities|pluralize("y", "ies") }}. /// ``` /// /// ```jinja