diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-12-16 11:32:58 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-12-16 11:59:04 +0100 |
commit | 521964e12e7d4f0381c7d8d2c5ca1911c12a5466 (patch) | |
tree | c7f29fbab84d9097bb9078ac7ed8b5fcd039a051 | |
parent | eeec6f0654f32270aec4e4a0d0f42e4ad39bc28e (diff) | |
download | askama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.tar.gz askama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.tar.bz2 askama-521964e12e7d4f0381c7d8d2c5ca1911c12a5466.zip |
Apply clippy suggestion for Rust 1.66
-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" |