MCPcopy Index your code
hub / github.com/Rust-API/Rust-API-Bypass-Checker / insert

Method insert

src/analysis/global_context.rs:25–27  ·  view source on GitHub ↗
(&mut self, def_id: DefId, wto: Wto<'tcx>)

Source from the content-addressed store, hash-verified

23 }
24
25 pub fn insert(&mut self, def_id: DefId, wto: Wto<'tcx>) {
26 self.value.insert(def_id, wto);
27 }
28
29 pub fn contains_key(&self, def_id: &DefId) -> bool {
30 self.value.contains_key(def_id)

Callers 3

newMethod · 0.45
get_wtoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected