summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-03 08:44:51 +0000
committerbors <bors@rust-lang.org>2024-10-03 08:44:51 +0000
commitf7c8928f035370be33463bb7f1cd1aeca2c5f898 (patch)
tree9e18ddd2efc0ee787b6271b65f4ab08eb6a38997 /compiler/rustc_codegen_gcc
parent8885239786c9efe5c6077de65536a5e092e34a55 (diff)
parent11f738fcb2ae4ecd6821309290a468a6ebcbaaa9 (diff)
downloadrust-f7c8928f035370be33463bb7f1cd1aeca2c5f898.tar.gz
rust-f7c8928f035370be33463bb7f1cd1aeca2c5f898.zip
Auto merge of #128711 - clarfonthey:default-iters-hash, r=dtolnay
impl `Default` for `HashMap`/`HashSet` iterators that don't already have it

This is a follow-up to #128261 that isn't included in that PR because it depends on:

* [x] rust-lang/hashbrown#542 (`Default`)
* [x] `hashbrown` release containing above

It also wasn't included in #128261 initially and should have its own FCP, since these are also insta-stable.

Changes added:

* `Default for hash_map::{Iter, IterMut, IntoIter, IntoKeys, IntoValues, Keys, Values, ValuesMut}`
* `Default for hash_set::{Iter, IntoIter}`

Changes that were added before FCP, but are being deferred to later:

* `Clone for hash_map::{IntoIter, IntoKeys, IntoValues} where K: Clone, V: Clone`
* `Clone for hash_set::IntoIter where K: Clone`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions