rust/library/std
bors f7c8928f03 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`
2024-10-03 08:44:51 +00:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Auto merge of #128711 - clarfonthey:default-iters-hash, r=dtolnay 2024-10-03 08:44:51 +00:00
tests Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
build.rs Enable f16 tests on non-GNU Windows 2024-09-30 22:41:19 -04:00
Cargo.toml Update hashbrown to 0.15 and adjust some methods 2024-10-02 09:44:51 +02:00