refactor(tvix/eval): remove useless map call

Change-Id: Ifb59ef148ea4fab613f2e4efb133c04baafa3a98
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8141
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
Vincent Ambo 2023-02-26 17:58:41 +03:00 committed by clbot
parent fb4c197b39
commit 7e9a65dcdb

View file

@ -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()))
}
}