1 2 3 4 5 6 7
/// Reverse the contents of a two item tuple. #[inline] pub fn reverse<T>(pair: (T, T)) -> (T, T) { let (x, y) = pair; (y, x) }