diff options
| author | bors <bors@rust-lang.org> | 2016-12-08 15:39:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-12-08 15:39:39 +0000 |
| commit | 7537f953e2d28dc0f34ab39737b058e7b79a7fb7 (patch) | |
| tree | 8af0e2635b2d7cc801be99ad33185577178040a3 /src/libstd/sync | |
| parent | 47ffafcdcd01ec3f782b89e8ea27a7f1a7183ae0 (diff) | |
| parent | 02bf1ce9cc617979478aac09a95486696f2c4b36 (diff) | |
| download | rust-7537f953e2d28dc0f34ab39737b058e7b79a7fb7.tar.gz rust-7537f953e2d28dc0f34ab39737b058e7b79a7fb7.zip | |
Auto merge of #38182 - bluss:more-vec-extend, r=alexcrichton
Specialization for Extend<&T> for vec Specialize to use copy_from_slice when extending a Vec with &[T] where T: Copy. This specialization results in `.clone()` not being called in `extend_from_slice` and `extend` when the element is `Copy`. Fixes #38021
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions
