MCPcopy Create free account
hub / github.com/douchuan/algorithm / new_entry

Method new_entry

src/tree/binary/node.rs:59–61  ·  view source on GitHub ↗
(key: K, val: V)

Source from the content-addressed store, hash-verified

57 }
58
59 pub fn new_entry(key: K, val: V) -> NonNull<Self> {
60 Self::new_leaf(key, Some(val), None)
61 }
62
63 pub fn release(node: NonNull<Node<K, V>>) {
64 unsafe {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected