about summary refs log tree commit diff
path: root/tvix/eval/src/builtins/versions.rs
diff options
context:
space:
mode:
authorLyle Mantooth <lyle@menteeth.us>2022-11-28T14·48-0500
committerIslandUsurper <lyle@menteeth.us>2022-12-02T14·46+0000
commit39dba6aa1624b78690ade7f1b657283b48b56b39 (patch)
tree2c6509ebd099c66ced3e0c3909c718a6b638d094 /tvix/eval/src/builtins/versions.rs
parent90fe9a51d7f0837d67d90661c9355f7531621a4d (diff)
feat(tvix/eval): impl FromIterator for NixAttrs r/5375
Allows for the removal of some BTreeMap usage when constructing NixAttrs
by allowing any iterator over 2-tuples to build a NixAttrs. Some
instances of BTreeMap didn't have anything to do with making NixAttrs,
and some were just the best tool for the job, so they are left using the
old `from_map` interface.

Change-Id: I668ea600b0d93eae700a6b1861ac84502c968d78
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7492
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/builtins/versions.rs')
0 files changed, 0 insertions, 0 deletions