diff options
author | Vincent Ambo <mail@tazj.in> | 2023-11-05T17·43+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-11-05T20·28+0000 |
commit | 2e1399698b366af4a1579cdcbd9363633b8bc632 (patch) | |
tree | b0f0303fd4ded0ae4a2d408d0600fc17d43f42ed /tvix/eval/src/value/mod.rs | |
parent | 327548d2fdefddc211d15302a8108999f352e685 (diff) |
refactor(tvix/eval): use IntoIterator trait for owned NixAttrs iter r/6957
Uses the standard library IntoIterator trait for the construction of our iterators. Clippy complains about duplicating this. While doing this, I opted to rename the `IntoIter` type into something that is more useful to users, in case somebody ends up working with these manually. This fixes a clippy lint, and is related to b/321. Change-Id: I851fde0d7b8b38d182343a0fd6d9f8dd2a33ee11 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9963 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/value/mod.rs')
0 files changed, 0 insertions, 0 deletions