diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 3108186fb7..4c8bed0491 100644 --- a/crates/gpui/src/app.rs +++ b/crates/gpui/src/app.rs @@ -4938,14 +4938,6 @@ impl Clone for AnyViewHandle { } } -impl PartialEq for AnyViewHandle { - fn eq(&self, other: &Self) -> bool { - self.window_id == other.window_id - && self.view_id == other.view_id - && self.view_type == other.view_type - } -} - impl From<&AnyViewHandle> for AnyViewHandle { fn from(handle: &AnyViewHandle) -> Self { handle.clone() @@ -5171,7 +5163,6 @@ impl Hash for WeakViewHandle { } } -#[derive(Eq, PartialEq, Hash)] pub struct AnyWeakViewHandle { window_id: usize, view_id: usize,