diff options
-rw-r--r-- | examples/events.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/events.rs b/examples/events.rs index 10758519..03e8d995 100644 --- a/examples/events.rs +++ b/examples/events.rs @@ -95,15 +95,15 @@ mod events { struct All; - impl<H> - iced_native::subscription::Recipe<H, iced_native::subscription::Input> - for All - where - H: std::hash::Hasher, + impl + iced_native::subscription::Recipe< + iced_native::Hasher, + iced_native::subscription::Input, + > for All { type Output = iced_native::Event; - fn hash(&self, state: &mut H) { + fn hash(&self, state: &mut iced_native::Hasher) { use std::hash::Hash; std::any::TypeId::of::<All>().hash(state); |