aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-06-24 09:09:10 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-06-24 09:09:10 +0200
commit6d5d404bb81ef7f75c11c9665df3613e2801b496 (patch)
tree671ccb3be830163e262082a41efd21936ead2b34 /askama_shared
parent88a69fd6f8606ae0c543e83071a3b797fa64d17b (diff)
downloadaskama-6d5d404bb81ef7f75c11c9665df3613e2801b496.tar.gz
askama-6d5d404bb81ef7f75c11c9665df3613e2801b496.tar.bz2
askama-6d5d404bb81ef7f75c11c9665df3613e2801b496.zip
Remove redundant clone
Diffstat (limited to '')
-rw-r--r--askama_shared/src/filters/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/filters/mod.rs b/askama_shared/src/filters/mod.rs
index 55ba84b..2604ed9 100644
--- a/askama_shared/src/filters/mod.rs
+++ b/askama_shared/src/filters/mod.rs
@@ -475,7 +475,7 @@ mod tests {
join((&input).iter(), ":".to_string()).unwrap(),
"foo:bar:bazz"
);
- assert_eq!(join(input.clone().iter(), ":").unwrap(), "foo:bar:bazz");
+ assert_eq!(join(input.iter(), ":").unwrap(), "foo:bar:bazz");
assert_eq!(join(input.iter(), ":".to_string()).unwrap(), "foo:bar:bazz");
let input: &[String] = &["foo".into(), "bar".into()];