From 62e64640641ceb00e156a5feaddba74ec3647431 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Wed, 23 Jun 2021 20:31:22 +0900 Subject: [PATCH] shared(types): undo with_root until a rewrite of leaves() --- shared/src/types.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shared/src/types.rs b/shared/src/types.rs index e5b5bcf..f37e478 100644 --- a/shared/src/types.rs +++ b/shared/src/types.rs @@ -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,