rust/library/core/tests
bors 9fbbe75fd7 Auto merge of #95602 - scottmcm:faster-array-intoiter-fold, r=the8472
Fix `array::IntoIter::fold` to use the optimized `Range::fold`

It was using `Iterator::by_ref` in the implementation, which ended up pessimizing it enough that, for example, it didn't vectorize when we tried it in the <https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd/topic/Reducing.20sum.20into.20wider.20types> conversation.

Demonstration that the codegen test doesn't pass on the current nightly: <https://rust.godbolt.org/z/Taxev5eMn>
2022-05-14 03:12:53 +00:00
..
fmt Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
hash Add a dedicated length-prefixing method to Hasher 2022-05-06 00:03:38 -07:00
iter Rollup merge of #94115 - scottmcm:iter-process-by-ref, r=yaahc 2022-03-18 21:50:44 +01:00
num Update int_roundings methods from feedback 2022-05-04 23:20:29 -04:00
ops
alloc.rs fix Layout struct member naming style 2022-04-11 13:35:18 +08:00
any.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
array.rs Fix array::IntoIter::fold to use the optimized Range::fold 2022-04-02 14:29:41 -07:00
ascii.rs
atomic.rs
bool.rs
cell.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
char.rs Debug print char 0 as '\0' rather than '\u{0}' 2022-03-27 04:49:10 -07:00
clone.rs
cmp.rs Add test for StructuralEq for std::cmp::Ordering. 2022-03-16 14:01:48 -05:00
const_ptr.rs
convert.rs
future.rs add tests 2022-02-02 23:07:02 +09:00
intrinsics.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
lazy.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
lib.rs Auto merge of #94598 - scottmcm:prefix-free-hasher-methods, r=Amanieu 2022-05-06 09:43:57 +00:00
macros.rs
manually_drop.rs
mem.rs add cfg_panic bootstrap 2022-02-10 22:10:08 +00:00
nonzero.rs
ops.rs
option.rs
pattern.rs
pin_macro.rs Write {ui,} tests for pin_macro and pin! 2022-02-14 16:56:37 +01:00
pin.rs
ptr.rs Rollup merge of #95556 - declanvk:nonnull-provenance, r=dtolnay 2022-04-02 03:34:24 +02:00
result.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
simd.rs Miri can run this test now 2022-03-03 14:54:18 -05:00
slice.rs Add slice::remainder 2022-04-17 17:19:45 +00:00
str_lossy.rs
str.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs