MCPcopy Create free account
hub / github.com/hashintel/hash / remove

Method remove

libs/@local/hashql/core/src/module/universe.rs:429–436  ·  view source on GitHub ↗
(&mut self, universe: Universe, key: &Q)

Source from the content-addressed store, hash-verified

427 /// ```
428 #[inline]
429 pub fn remove<Q>(&mut self, universe: Universe, key: &Q) -> Option<V>
430 where
431 Q: Hash + Equivalent<K> + ?Sized,
432 {
433 let map = self.of_mut(universe);
434
435 map.remove(key)
436 }
437
438 /// Checks if the [`HashMap`] in the specified [`Universe`] contains a key.
439 ///

Callers

nothing calls this directly

Calls 1

of_mutMethod · 0.45

Tested by

no test coverage detected