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:
parent
fb4c197b39
commit
7e9a65dcdb
1 changed files with 1 additions and 5 deletions
|
|
@ -103,11 +103,7 @@ where
|
||||||
where
|
where
|
||||||
T: IntoIterator<Item = (K, V)>,
|
T: IntoIterator<Item = (K, V)>,
|
||||||
{
|
{
|
||||||
NixAttrs(AttrsRep::Im(
|
NixAttrs(AttrsRep::Im(iter.into_iter().collect()))
|
||||||
iter.into_iter()
|
|
||||||
.map(|(k, v)| (k.into(), v.into()))
|
|
||||||
.collect(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue