From d94de317ac2270e30a99241450e83bc904e14dae Mon Sep 17 00:00:00 2001
From: Andrew Paseltiner <apaseltiner@gmail.com>
Date: Sat, 11 Jul 2015 13:58:25 -0400
Subject: [PATCH] remove unnecessary allocation from test

---
 src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs
index 629d76f..19a244c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1362,7 +1362,7 @@ mod test {
 
     #[test]
     fn test_from_iter() {
-        let xs = vec![(1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e')];
+        let xs = [(1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e')];
 
         let map: VecMap<_> = xs.iter().cloned().collect();
 
-- 
GitLab