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

Function main

705-design-hashset.rs:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30fn main() {
31 let mut obj = MyHashSet::new();
32 obj.add(1);
33 obj.remove(1);
34 let ret_3: bool = obj.contains(1);
35}

Callers

nothing calls this directly

Calls 3

addMethod · 0.80
containsMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected