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:
authorYuki Okushi <jtitor@2k36.org>2021-07-24 04:30:56 +0900
committerGitHub <noreply@github.com>2021-07-24 04:30:56 +0900
commit249a11f93698802735f89efe5d8adf094b4b01ed (patch)
treea1f6cc3b77dc8be53c4b3c6fee8d8d96119110f7 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parentd4532903b05b06e25511ec929823909a157cdf2c (diff)
parent2dd69aaafc64fe9dce74088b5371a6cfb032e01e (diff)
downloadrust-249a11f93698802735f89efe5d8adf094b4b01ed.tar.gz
rust-249a11f93698802735f89efe5d8adf094b4b01ed.zip
Rollup merge of #86790 - janikrabe:retain-iter-order-doc, r=m-ou-se
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