diff options
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r-- | tvix/eval/src/value/attrs/tests.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tvix/eval/src/value/attrs/tests.rs b/tvix/eval/src/value/attrs/tests.rs index 473592c519df..5c693873cd75 100644 --- a/tvix/eval/src/value/attrs/tests.rs +++ b/tvix/eval/src/value/attrs/tests.rs @@ -78,11 +78,7 @@ fn test_kv_attrs_iter() { ) .expect("constructing K/V pair attrs should succeed"); - let mut iter = kv_attrs - .iter() - .collect::<Vec<_>>() - .into_iter() - .map(|(k, v)| (k, v)); + let mut iter = kv_attrs.iter().collect::<Vec<_>>().into_iter(); let (k, v) = iter.next().unwrap(); assert!(k == *NAME_REF); assert!(v.to_str().unwrap() == meaning_val.to_str().unwrap()); |