about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-20 13:08:07 +0000
committerbors <bors@rust-lang.org>2017-04-20 13:08:07 +0000
commit968ae7babecfc6c62ef9699ff052d9ab00411848 (patch)
tree8047c62010017e7f69253113832daef38777176c /src/libstd/sync
parentfa6b50fc6282a2c64814b35b16464a22f4ae9265 (diff)
parentf85a5337ab0f8b492cb8df56a7c2af103010037e (diff)
downloadrust-968ae7babecfc6c62ef9699ff052d9ab00411848.tar.gz
rust-968ae7babecfc6c62ef9699ff052d9ab00411848.zip
Auto merge of #41191 - seanmonstar:spec-extend-vec-intoiter, r=alexcrichton
specialize Extend for Vec with IntoIter

Before, `vec.extend(&other_vec)` was quite a bit faster than `vec.extend(other_vec)`. This allows extending by consuming a vec to use the same code as extending from a slice.
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions