fn adapt_array_mut_it<K, V>(pair: &mut (K, V)) -> (&K, &mut V)
adapts Item of array mut reference iterator to Item of hashmap mut reference iterator.