diff options
| author | bors <bors@rust-lang.org> | 2017-06-02 07:51:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-06-02 07:51:20 +0000 |
| commit | 558cd1e393188a07bda413931aa88e82996d31c2 (patch) | |
| tree | df39e7df3d1c99a395fe7b1d90751853da09d0c0 /src/rustllvm/RustWrapper.cpp | |
| parent | 668e698bbaacfeacb712512a58db1bd5e78ee371 (diff) | |
| parent | 094d61f079e5f06930e002da18f92dde5827154f (diff) | |
| download | rust-558cd1e393188a07bda413931aa88e82996d31c2.tar.gz rust-558cd1e393188a07bda413931aa88e82996d31c2.zip | |
Auto merge of #41670 - scottmcm:slice-rotate, r=alexcrichton
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
