about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorJanik Rabe <info@janikrabe.com>2021-07-01 22:15:13 +0100
committerJanik Rabe <info@janikrabe.com>2021-07-01 22:15:13 +0100
commit2dd69aaafc64fe9dce74088b5371a6cfb032e01e (patch)
tree90447f6f75aafbd36b09c7b01371788c83bb6fc4 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent64de4979e8979836e7c029d69eb96e6f7da66185 (diff)
downloadrust-2dd69aaafc64fe9dce74088b5371a6cfb032e01e.tar.gz
rust-2dd69aaafc64fe9dce74088b5371a6cfb032e01e.zip
Document iteration order of `retain` functions
For `HashSet` and `HashMap`, this simply copies the comment from
`BinaryHeap::retain`.

For `BTreeSet` and `BTreeMap`, this adds an additional guarantee that
wasn't previously documented. I think that because these data structures
are inherently ordered and other functions guarantee ordered iteration,
it makes sense to provide this guarantee for `retain` as well.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions