Searched refs:replace_or_insert (Results 1 – 1 of 1) sorted by relevance
946 pub fn replace_or_insert(&mut self, k: K, mut v: V) -> Option<V> { in replace_or_insert() method1442 assert_eq!(m.replace_or_insert(2, 6).unwrap(), 4); in test_replace()