summaryrefslogtreecommitdiffstats
path: root/futures
diff options
context:
space:
mode:
Diffstat (limited to 'futures')
-rw-r--r--futures/src/keyboard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/futures/src/keyboard.rs b/futures/src/keyboard.rs
index 1ddca0bb..af68e1f2 100644
--- a/futures/src/keyboard.rs
+++ b/futures/src/keyboard.rs
@@ -44,9 +44,9 @@ where
Message: MaybeSend + 'static,
{
#[derive(Hash)]
- struct OnKeyPress;
+ struct OnKeyRelease;
- subscription::filter_map((OnKeyPress, f), move |event, status| {
+ subscription::filter_map((OnKeyRelease, f), move |event, status| {
match (event, status) {
(
core::Event::Keyboard(Event::KeyReleased {