summaryrefslogtreecommitdiffstats
path: root/native/src/subscription/events.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--native/src/subscription/events.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/native/src/subscription/events.rs b/native/src/subscription/events.rs
index 6ff2c0fb..7d33166e 100644
--- a/native/src/subscription/events.rs
+++ b/native/src/subscription/events.rs
@@ -2,6 +2,7 @@ use crate::{
subscription::{EventStream, Recipe},
Event, Hasher,
};
+use iced_futures::futures::stream::BoxStream;
pub struct Events;
@@ -17,7 +18,7 @@ impl Recipe<Hasher, Event> for Events {
fn stream(
self: Box<Self>,
event_stream: EventStream,
- ) -> futures::stream::BoxStream<'static, Self::Output> {
+ ) -> BoxStream<'static, Self::Output> {
event_stream
}
}