summaryrefslogtreecommitdiffstats
path: root/futures/src/keyboard.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-14 01:47:39 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-14 01:47:39 +0200
commita25b1af45690bdd8e1cbb20ee3a5b1c4342de455 (patch)
tree432044cf682dd73d1019a2f964749e78db178865 /futures/src/keyboard.rs
parente6d0b3bda5042a1017a5944a5227c97e0ed6caf9 (diff)
downloadiced-a25b1af45690bdd8e1cbb20ee3a5b1c4342de455.tar.gz
iced-a25b1af45690bdd8e1cbb20ee3a5b1c4342de455.tar.bz2
iced-a25b1af45690bdd8e1cbb20ee3a5b1c4342de455.zip
Replace `Command` with a new `Task` API with chain support
Diffstat (limited to 'futures/src/keyboard.rs')
-rw-r--r--futures/src/keyboard.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/keyboard.rs b/futures/src/keyboard.rs
index f0d7d757..c86e2169 100644
--- a/futures/src/keyboard.rs
+++ b/futures/src/keyboard.rs
@@ -2,8 +2,8 @@
use crate::core;
use crate::core::event;
use crate::core::keyboard::{Event, Key, Modifiers};
+use crate::core::MaybeSend;
use crate::subscription::{self, Subscription};
-use crate::MaybeSend;
/// Listens to keyboard key presses and calls the given function
/// map them into actual messages.