MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / remove

Method remove

706-design-hashmap.rs:34–36  ·  view source on GitHub ↗

Removes the mapping of the specified value key if this map contains a mapping for the key */

(&mut self, key: i32)

Source from the content-addressed store, hash-verified

32
33 /** Removes the mapping of the specified value key if this map contains a mapping for the key */
34 fn remove(&mut self, key: i32) {
35 self.map.remove(&key);
36 }
37}
38
39fn main() {

Callers 13

di_string_matchFunction · 0.45
add_numMethod · 0.45
popMethod · 0.45
popMethod · 0.45
last_stone_weightFunction · 0.45
make_goodFunction · 0.45
matrix_reshapeFunction · 0.45
single_numberFunction · 0.45
validate_stack_sequencesFunction · 0.45
popMethod · 0.45
mainFunction · 0.45
custom_sort_stringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected