Remove redundant LayerEnveloper::ne method

This commit is contained in:
Konstantin Knizhnik
2022-03-28 16:39:04 +03:00
parent cd0fdada82
commit 22614f74b1

View File

@@ -71,13 +71,8 @@ impl PartialEq for LayerEnvelope {
#[allow(clippy::vtable_address_comparisons)]
Arc::ptr_eq(&self.layer, &other.layer)
}
fn ne(&self, other: &Self) -> bool {
!self.eq(other)
}
}
impl Eq for LayerEnvelope {}
impl RTreeObject for LayerEnvelope {
type Envelope = AABB<[i128; 2]>;
fn envelope(&self) -> Self::Envelope {