Skip to content
Snippets Groups Projects
Commit d94de317 authored by Andrew Paseltiner's avatar Andrew Paseltiner
Browse files

remove unnecessary allocation from test

parent b73ecafd
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment