granite-rust/library/core
bors df70463ea5 Auto merge of #85340 - the8472:no-inplaceiterable-on-peekable, r=yaahc
remove InPlaceIterable marker from Peekable due to unsoundness

The unsoundness is not in Peekable per se, it rather is due to the
interaction between Peekable being able to hold an extra item
and vec::IntoIter's clone implementation shortening the allocation.

An alternative solution would be to change IntoIter's clone implementation
to keep enough spare capacity available.

fixes #85322
2021-05-19 21:50:45 +00:00
..
benches move core::hint::black_box under its own feature gate 2021-04-25 11:08:12 +02:00
src Auto merge of #85340 - the8472:no-inplaceiterable-on-peekable, r=yaahc 2021-05-19 21:50:45 +00:00
tests Simple library test updates 2021-05-06 11:37:45 -07:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00