diff options
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r-- | tvix/eval/src/value/attrs.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tvix/eval/src/value/attrs.rs b/tvix/eval/src/value/attrs.rs index 10d071720219..9b7a683ce3f7 100644 --- a/tvix/eval/src/value/attrs.rs +++ b/tvix/eval/src/value/attrs.rs @@ -103,11 +103,7 @@ where where T: IntoIterator<Item = (K, V)>, { - NixAttrs(AttrsRep::Im( - iter.into_iter() - .map(|(k, v)| (k.into(), v.into())) - .collect(), - )) + NixAttrs(AttrsRep::Im(iter.into_iter().collect())) } } |