(c: usize)
| 246 | |
| 247 | impl<T> Node<T> { |
| 248 | fn new(c: usize) -> NonNull<Self> { |
| 249 | let v = Box::new(Self { |
| 250 | c, |
| 251 | subtries: [None; 3], |
| 252 | val: None, |
| 253 | }); |
| 254 | Box::leak(v).into() |
| 255 | } |
| 256 | |
| 257 | // test subtrie whether completely empty |
| 258 | fn is_empty(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected