summary refs log tree commit diff
path: root/src/libcollections/tests/lib.rs
AgeCommit message (Collapse)AuthorLines
2017-06-03Auto merge of #42331 - retep998:standard-relocation-coupon, r=alexcrichtonbors-0/+2
Improve reallocation in alloc_system on Windows Fixes https://github.com/rust-lang/rust/issues/42025
2017-06-02Rollup merge of #42310 - scottmcm:deprecate-range-stepby, r=alexcrichtonMark Simulacrum-1/+1
Deprecate range-specific `step_by` Deprecation attributes and test updates only. Was replaced by an any-iterator version in https://github.com/rust-lang/rust/pull/41439 Last follow-up (this release) to https://github.com/rust-lang/rust/pull/42110#issuecomment-303210138 r? @alexcrichton
2017-06-02Add test for vecs with overaligned dataPeter Atashian-0/+2
2017-06-02Auto merge of #41670 - scottmcm:slice-rotate, r=alexcrichtonbors-0/+1
Add an in-place rotate method for slices to libcore A helpful primitive for moving chunks of data around inside a slice. For example, if you have a range selected and are drag-and-dropping it somewhere else (Example from [Sean Parent's talk](https://youtu.be/qH6sSOr-yk8?t=560)). (If this should be an RFC instead of a PR, please let me know.) Edit: changed example
2017-05-31Avoid range::step_by in another testScott McMurray-1/+1
2017-05-21Add an in-place rotate method for slices to libcoreScott McMurray-0/+1
A helpful primitive for moving chunks of data around inside a slice. In particular, adding elements to the end of a Vec then moving them somewhere else, as a way to do efficient multiple-insert. (There's drain for efficient block-remove, but no easy way to block-insert.) Talk with another example: <https://youtu.be/qH6sSOr-yk8?t=560>
2017-05-20Stabilize library features for 1.18.0Steven Fackler-1/+0
Closes #38863 Closes #38980 Closes #38903 Closes #36648
2017-04-23Add Vec::splice and String::spliceSimon Sapin-0/+1
2017-04-20Remove BinaryHeap::{push_pop,replace}Josh Stone-1/+0
[unstable, deprecated since 1.13.0]
2017-04-03Move libXtest into libX/testsStjepan Glavina-0/+54
This change moves: 1. `libcoretest` into `libcore/tests` 2. `libcollectionstest` into `libcollections/tests` This is a follow-up to #39561.