Revert unnecessary app.rs changes

This commit is contained in:
K Simmons 2022-08-30 22:01:36 -07:00
parent d7e6e8c5a1
commit dd934e930b

View file

@ -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 { impl From<&AnyViewHandle> for AnyViewHandle {
fn from(handle: &AnyViewHandle) -> Self { fn from(handle: &AnyViewHandle) -> Self {
handle.clone() handle.clone()
@ -5171,7 +5163,6 @@ impl<T> Hash for WeakViewHandle<T> {
} }
} }
#[derive(Eq, PartialEq, Hash)]
pub struct AnyWeakViewHandle { pub struct AnyWeakViewHandle {
window_id: usize, window_id: usize,
view_id: usize, view_id: usize,