shared(types): undo with_root until a rewrite of leaves()

pull/121/head
Jake McGinty 2021-06-23 20:31:22 +09:00
parent 3c8530d956
commit 62e6464064
1 changed files with 0 additions and 4 deletions

View File

@ -237,10 +237,6 @@ impl<'a> CidrTree<'a> {
.iter()
.min_by_key(|c| c.cidr.prefix())
.expect("failed to find root CIDR");
Self::with_root(cidrs, root)
}
pub fn with_root(cidrs: &'a [Cidr], root: &'a Cidr) -> Self {
Self {
cidrs,
contents: root,