Function tail_swap

Source
pub fn tail_swap<T, F>(src: &mut [T], swap: &mut [T], is_less: &F)
where F: Fn(&T, &T) -> bool,