diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-02-24 14:24:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-02-24 14:25:01 -0500 |
commit | 87a9da4e3ff0e54927ed20120db8b0317f7c272e (patch) | |
tree | 1f43d9bab34f0b79e389a6dde1beaca19a4478c4 | |
parent | b1ac058c81a28926e4b97420f9dd95a63a877c55 (diff) | |
download | acap-87a9da4e3ff0e54927ed20120db8b0317f7c272e.tar.xz |
vp: Remove workaround for https://github.com/rust-lang/rust/issues/72582
-rw-r--r-- | src/vp.rs | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -73,11 +73,7 @@ impl<T: Proximity> VpNode<T> { } /// 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<DistanceValue<T>>, - { + fn push(&mut self, item: T) { match (&mut self.inside, &mut self.outside) { (None, None) => { self.outside = Some(Box::new(Self::new(item))); |