about summary refs log tree commit diff
path: root/src/libcollectionstest/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcollectionstest/string.rs')
-rw-r--r--src/libcollectionstest/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollectionstest/string.rs b/src/libcollectionstest/string.rs
index a1c7209f23b..2df0c7a3a8a 100644
--- a/src/libcollectionstest/string.rs
+++ b/src/libcollectionstest/string.rs
@@ -344,7 +344,7 @@ fn test_from_iterator() {
     assert_eq!(s, c);
 
     let mut d = t.to_string();
-    d.extend(vec![u].into_iter());
+    d.extend(vec![u]);
     assert_eq!(s, d);
 }