rust/src/libcore/iter
bors 6cad7542da Auto merge of #68358 - matthewjasper:spec-fix, r=nikomatsakis
Remove some unsound specializations

This removes the unsound and exploitable specializations in the standard library

* The `PartialEq` and `Hash` implementations for  `RangeInclusive` are changed to avoid specialization.
* The `PartialOrd` specialization for slices now specializes on a limited set of concrete types.
* Added some tests for the soundness problems.
2020-02-08 03:46:56 +00:00
..
adapters Fill tracking issue for iter_map_while feature 2020-01-28 21:30:34 +03:00
traits Fill tracking issue for iter_map_while feature 2020-01-28 21:30:34 +03:00
mod.rs Stabilize core::iter::once_with() 2020-02-04 00:47:04 +09:00
range.rs Remove some unsound specializations 2020-02-01 09:11:41 +00:00
sources.rs Remove Copy impl from OnceWith 2020-02-03 22:30:17 +00:00