Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ get
Method
get
src/tree/binary/rb2.rs:132–134 ·
view source on GitHub ↗
(&self, key: &K)
Source
from the content-addressed store, hash-verified
130
}
131
132
fn get(&self, key: &K) -> Option<&V> {
133
unsafe { bst::find(self.root, key).and_then(|p| p.as_ref().val.as_ref()) }
134
}
135
136
fn delete_min(&mut self) {
137
let mut root = NodeQuery::new(self.root);
Callers
nothing calls this directly
Calls
1
find
Function · 0.70
Tested by
no test coverage detected