rust/src/libcore/slice
Scott McMurray c05676b97f Add an in-place rotate method for slices to libcore
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-21 01:55:43 -07:00
..
mod.rs Add an in-place rotate method for slices to libcore 2017-05-21 01:55:43 -07:00
rotate.rs Add an in-place rotate method for slices to libcore 2017-05-21 01:55:43 -07:00
sort.rs Move away from the ad-hoc NoDrop unions 2017-04-09 18:55:47 +03:00