diff options
Diffstat (limited to '')
-rw-r--r-- | askama/src/filters/json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama/src/filters/json.rs b/askama/src/filters/json.rs index 03e624a..809be91 100644 --- a/askama/src/filters/json.rs +++ b/askama/src/filters/json.rs @@ -34,7 +34,7 @@ mod tests { assert_eq!(json(true).unwrap(), "true"); assert_eq!(json("foo").unwrap(), r#""foo""#); assert_eq!( - json(&vec!["foo", "bar"]).unwrap(), + json(vec!["foo", "bar"]).unwrap(), r#"[ "foo", "bar" |