summary refs log tree commit diff
path: root/src/libcore/slice/rotate.rs
AgeCommit message (Expand)AuthorLines
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-7/+7
2018-07-19fix safety-related comment in slice::rotateRalf Jung-1/+1
2017-06-21Reuse the mem::swap optimizations to speed up slice::rotateScott McMurray-8/+1
2017-05-21Remove the optimization in ptr_swap_nScott McMurray-45/+3
2017-05-21Add an in-place rotate method for slices to libcoreScott McMurray-0/+154