aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-12-16 11:32:58 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-12-16 11:59:04 +0100
commit521964e12e7d4f0381c7d8d2c5ca1911c12a5466 (patch)
treec7f29fbab84d9097bb9078ac7ed8b5fcd039a051
parenteeec6f0654f32270aec4e4a0d0f42e4ad39bc28e (diff)
downloadaskama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.tar.gz
askama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.tar.bz2
askama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.zip
Apply clippy suggestion for Rust 1.66
-rw-r--r--askama/src/filters/json.rs2
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"