rust/library/core/src/iter
Matthias Krüger dfbb6b246d
Rollup merge of #92630 - steffahn:lift_bounds_on_BuildHasherDefault, r=yaahc
Change PhantomData type for `BuildHasherDefault` (and more)

Changes `PhantomData<H>` to `PhantomData<fn() -> H>` for `BuildHasherDefault`. This preserves the covariance of `H`, while it lifts the currently inferred unnecessary bounds like [`H: Send` for `BuildHasherDefault<H>: Send`](https://doc.rust-lang.org/1.57.0/std/hash/struct.BuildHasherDefault.html#impl-Send), etc.

_Edit:_ Also does a similar change for `iter::Empty` and `future::Pending`.
2022-01-19 19:19:47 +01:00
..
adapters Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
sources Also change PhantomData parameter of iter::Empty, and future::Pending 2022-01-07 01:53:51 +01:00
traits Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
mod.rs Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
range.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
sources.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00