From 87a9da4e3ff0e54927ed20120db8b0317f7c272e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 24 Feb 2021 14:24:38 -0500 Subject: vp: Remove workaround for https://github.com/rust-lang/rust/issues/72582 --- src/vp.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/vp.rs b/src/vp.rs index bf91d57..e0b218f 100644 --- a/src/vp.rs +++ b/src/vp.rs @@ -73,11 +73,7 @@ impl VpNode { } /// Push a new item into this subtree. - fn push(&mut self, item: T) - where - // https://github.com/rust-lang/rust/issues/72582 - T::Distance: PartialOrd + PartialOrd>, - { + fn push(&mut self, item: T) { match (&mut self.inside, &mut self.outside) { (None, None) => { self.outside = Some(Box::new(Self::new(item))); -- cgit v1.2.3