rust/library/core
bors 4996b56ba9 Auto merge of #106343 - the8472:slice-iter-fold, r=scottmcm
optimize slice::Iter::fold

Fixes 2 of 4 cases from #106288

```
OLD: test slice::fold_to_last                                           ... bench:         248 ns/iter (+/- 3)
NEW: test slice::fold_to_last                                           ... bench:           0 ns/iter (+/- 0)
```
2023-06-15 09:38:53 +00:00
..
benches add benchmark 2023-06-12 13:03:29 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Auto merge of #106343 - the8472:slice-iter-fold, r=scottmcm 2023-06-15 09:38:53 +00:00
tests Auto merge of #112314 - ferrocene:pa-core-alloc-abort, r=bjorn3 2023-06-13 19:03:27 +00:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00