Home
last modified time | relevance | path

Searched refs:replace_or_insert (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Drbtree.rs946 pub fn replace_or_insert(&mut self, k: K, mut v: V) -> Option<V> { in replace_or_insert() method
1442 assert_eq!(m.replace_or_insert(2, 6).unwrap(), 4); in test_replace()