pub fn reverse<T>(v: &mut [T]) {
    let mut i: uint = 0;
    let ln = v.len();
    while i < ln / 2 {
        swap(v, i, ln - i - 1);
        i += 1;
    }
}
/// Reverse the order of elements in a vector, in place
Reverse the order of elements in a vector, in place
Reverse the order of elements in a vector in place
pub fn reverse<T>(v: &mut [T]) {
    let mut i: uint = 0;
    let ln = v.len();
    while i < ln / 2 {
        swap(v, i, ln - i - 1);
        i += 1;
    }
}
pub fn reverse < T > ( v : & mut [ T ] ) { let mut i : uint = 0 ; let ln = v . len ( ) ; while i < ln / 2 { swap ( v , i , ln - i - 1 ) ; i += 1 ; } }
Reverse the order of elements in a vector, in place
Reverse the order of elements in a vector in place
v
&mut [T]