diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 3108186fb717d54f0068956b2eaea51b32ba6ec8..4c8bed04919d50a1dbe1b9a30b0246f5ac7ce8de 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,