pub fn keep_first_mut<A, B>(tuple: &mut (A, B)) -> &mut A
Returns a mutable reference to the first element of a mutable tuple reference.