fn rotate(comptime T: type, items: []T, amount: usize) void
[src]
In-place rotation of the values in an array ([0 1 2 3] becomes [1 2 3 0] if we rotate by 1) Assumes 0 <= amount <= items.len
fn rotate(comptime T: type, items: []T, amount: usize) void
In-place rotation of the values in an array ([0 1 2 3] becomes [1 2 3 0] if we rotate by 1) Assumes 0 <= amount <= items.len