rust/library/core/src
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
..
alloc Fix const stability since versions. 2021-03-15 14:39:18 +00:00
array Replace IntoIter::new with IntoIterator::into_iter in std 2021-06-02 16:09:04 +06:00
char Update expressions where we can use array's IntoIterator implementation 2021-06-02 16:09:04 +06:00
convert Get rid of "[+] show undocumented items" toggle on numeric From impls 2021-04-22 11:51:05 -07:00
fmt fix pad_integral example 2021-05-23 14:48:16 +03:00
future remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
hash Auto merge of #83390 - clarfonthey:hasher_docs, r=Amanieu 2021-04-26 08:21:55 +00:00
iter Auto merge of #85975 - the8472:revert-take-tra, r=scottmcm 2021-06-09 11:24:54 +00:00
macros fix matches! and assert_matches! on edition 2021 2021-05-25 16:44:20 +02:00
mem Override clone_from for some types 2021-05-11 13:00:34 +02:00
num Intra doc link-ify a reference to a function 2021-06-01 05:04:48 +02:00
ops Correct type signature in doc for Bound::as_mut 2021-06-07 11:00:59 -04:00
prelude Add new traits to 2021 prelude. 2021-05-25 19:58:50 +02:00
ptr Fix UB in documented example for ptr::swap 2021-05-19 14:09:23 +02:00
slice Clarify documentation of slice sorting methods 2021-06-07 16:50:08 -04:00
str Auto merge of #84767 - scottmcm:try_trait_actual, r=lcnr 2021-05-18 20:50:01 +00:00
stream Remove Stream::next 2021-01-23 16:54:56 +01:00
sync Stabilize atomic_fetch_update methods on AtomicBool and AtomicPtr. 2021-04-11 11:45:46 +02:00
task #[cfg(bootstrap)] out the v1 try_trait stuff 2021-05-19 13:32:15 -07:00
unicode Add a check for ASCII characters in to_upper and to_lower 2021-02-26 11:39:36 -06:00
any.rs Change the Debug impl of Any and UnsafeCell to use finish_non_exhaustive 2021-04-21 14:51:04 +02:00
ascii.rs Replace all fmt.pad with debug_struct 2021-04-21 14:38:24 +02:00
bool.rs Stabilise then 2020-11-22 13:45:14 +00:00
borrow.rs Fix borrow and deref 2021-03-03 11:23:29 +01:00
cell.rs Override clone_from for some types 2021-05-11 13:00:34 +02:00
clone.rs Fix core tests 2021-03-03 11:22:49 +01:00
cmp.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
default.rs Add diagnostic item to Default trait 2021-03-04 10:14:48 -08:00
ffi.rs Replace all fmt.pad with debug_struct 2021-04-21 14:38:24 +02:00
hint.rs Auto merge of #84725 - sebpop:arm64-isb, r=joshtriplett 2021-05-02 04:54:31 +00:00
internal_macros.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
intrinsics.rs Rollup merge of #84755 - jyn514:core-links, r=kennytm 2021-05-07 00:38:38 +02:00
lazy.rs Capitalize safety comments 2020-09-08 22:26:44 -04:00
lib.rs Auto merge of #85457 - jyn514:remove-doc-include, r=GuillaumeGomez 2021-06-05 03:36:26 +00:00
marker.rs Add additional migrations to handle auto-traits and clone traits 2021-05-06 14:17:59 -04:00
option.rs Mention "null pointer optimization" in option docs. 2021-05-29 09:57:12 -07:00
panic.rs Implement new panic!() behaviour for Rust 2021. 2021-01-25 13:48:11 +01:00
panicking.rs Fix panic message of assert_failed_inner 2021-03-13 18:50:43 +08:00
pin.rs Fix overlength lines in core::pin. 2021-01-05 20:14:02 +01:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
raw.rs Deprecate the core::raw / std::raw module 2021-04-15 02:32:33 +02:00
result.rs #[cfg(bootstrap)] out the v1 try_trait stuff 2021-05-19 13:32:15 -07:00
time.rs use else if in std library 2021-05-03 07:05:08 -04:00
tuple.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
unit.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00