about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-12-08 15:39:39 +0000
committerbors <bors@rust-lang.org>2016-12-08 15:39:39 +0000
commit7537f953e2d28dc0f34ab39737b058e7b79a7fb7 (patch)
tree8af0e2635b2d7cc801be99ad33185577178040a3 /src/libstd/sync
parent47ffafcdcd01ec3f782b89e8ea27a7f1a7183ae0 (diff)
parent02bf1ce9cc617979478aac09a95486696f2c4b36 (diff)
downloadrust-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