From 521964e12e7d4f0381c7d8d2c5ca1911c12a5466 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 16 Dec 2022 11:32:58 +0100 Subject: Apply clippy suggestion for Rust 1.66 --- askama/src/filters/json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit