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

Method set_mid

src/strings/tst.rs:281–283  ·  view source on GitHub ↗
(&mut self, x: Option<NonNull<Node<T>>>)

Source from the content-addressed store, hash-verified

279 }
280
281 fn set_mid(&mut self, x: Option<NonNull<Node<T>>>) {
282 self.subtries[1] = x;
283 }
284
285 fn set_right(&mut self, x: Option<NonNull<Node<T>>>) {
286 self.subtries[2] = x;

Callers 1

put_dthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected