rust/library/alloc
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
..
benches add transmute-via-iterators bench 2021-03-21 20:54:05 +01:00
src specialize in-place collection further via TrustedRandomAccess 2021-03-21 20:54:06 +01:00
tests Auto merge of #71780 - jcotton42:string_remove_matches, r=joshtriplett 2021-03-19 00:47:37 +00:00
Cargo.toml Update compiler_builtins to 0.1.39 2021-01-07 16:16:36 +09:00