rust/library
The8472 6c67e55270 specialize in-place collection further via TrustedRandomAccess
This allows the optimizer to turn certain iterator pipelines such as

```rust
let vec = vec![0usize; 100];
vec.into_iter().map(|e| e as isize).collect::<Vec<_>>()
```

into a noop.

The optimization only applies when iterator sources are  `T: Copy`
since `impl TrustedRandomAccess for IntoIter<T>`.
No such requirement applies to the output type (`Iterator::Item`).
2021-03-21 20:54:06 +01:00
..
alloc specialize in-place collection further via TrustedRandomAccess 2021-03-21 20:54:06 +01:00
backtrace@af078ecc0b
core Auto merge of #83053 - oli-obk:const_stab_version, r=m-ou-se 2021-03-21 16:21:39 +00:00
panic_abort
panic_unwind
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #83280 - starthal:fix-typo-keyword-docs, r=dtolnay 2021-03-21 02:01:37 +01:00
stdarch@9c732a56f6
term
test
unwind