summaryrefslogtreecommitdiffstats
path: root/futures
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-16 15:41:28 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-16 15:41:28 +0200
commiteb6673bf0022d09f86d0ba0b8c3313abb95eeb9c (patch)
tree80033ceb1f98264fd1d5f408b8bd4d9ea906b020 /futures
parent143f4c86caeb43cfff6573fe192c8eb877bb044c (diff)
downloadiced-eb6673bf0022d09f86d0ba0b8c3313abb95eeb9c.tar.gz
iced-eb6673bf0022d09f86d0ba0b8c3313abb95eeb9c.tar.bz2
iced-eb6673bf0022d09f86d0ba0b8c3313abb95eeb9c.zip
Finish "The Pocket Guide"
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 f0d7d757..35f6b6fa 100644
--- a/futures/src/keyboard.rs
+++ b/futures/src/keyboard.rs
@@ -6,7 +6,7 @@ use crate::subscription::{self, Subscription};
use crate::MaybeSend;
/// Listens to keyboard key presses and calls the given function
-/// map them into actual messages.
+/// to map them into actual messages.
///
/// If the function returns `None`, the key press will be simply
/// ignored.
@@ -31,7 +31,7 @@ where
}
/// Listens to keyboard key releases and calls the given function
-/// map them into actual messages.
+/// to map them into actual messages.
///
/// If the function returns `None`, the key release will be simply
/// ignored.