rust/library/core
bors 38bc9b9933 Auto merge of #85975 - the8472:revert-take-tra, r=scottmcm
Revert "implement TrustedRandomAccess for Take iterator adapter"

This reverts commit 37a5b515e9 (#83990).

The original change unintentionally caused side-effects from certain iterator chains combining `take`, `zip` and `next_back()` to be omitted which is observable by user code and thus likely a breaking change

Technically one could declare it not a breaking change since `Zip`'s API contract is silent about about its backwards iteration behavior but on the other hand there is nothing in the stable Iterator API that could justify the currently observable behavior. And either way, this impact wasn't noticed or discussed in the original PR.

Fixes #85969
2021-06-09 11:24:54 +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 #85975 - the8472:revert-take-tra, r=scottmcm 2021-06-09 11:24:54 +00:00
tests Rollup merge of #85930 - mominul:array_into_iter, r=m-ou-se 2021-06-06 19:11:19 +09:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00