diff options
author | 2020-03-26 19:33:00 +0100 | |
---|---|---|
committer | 2020-03-26 19:33:00 +0100 | |
commit | 9ef1801ed647868b624f1e1999141e74a292b980 (patch) | |
tree | 7028f6e3c6f28c3d14392e5d1b3bb07586955c28 /native | |
parent | 643fa18cae19fa1418a23b652b6b4b8bf8ef79fc (diff) | |
parent | 338fff35ac821e6b03d68bd94418de500fb50f77 (diff) | |
download | iced-9ef1801ed647868b624f1e1999141e74a292b980.tar.gz iced-9ef1801ed647868b624f1e1999141e74a292b980.tar.bz2 iced-9ef1801ed647868b624f1e1999141e74a292b980.zip |
Merge pull request #234 from hecrj/improvement/subscription-send-requirement
Improve compatibility of `iced_futures`
Diffstat (limited to 'native')
-rw-r--r-- | native/src/subscription/events.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/subscription/events.rs b/native/src/subscription/events.rs index 7d33166e..ceae467d 100644 --- a/native/src/subscription/events.rs +++ b/native/src/subscription/events.rs @@ -2,7 +2,7 @@ use crate::{ subscription::{EventStream, Recipe}, Event, Hasher, }; -use iced_futures::futures::stream::BoxStream; +use iced_futures::BoxStream; pub struct Events; @@ -18,7 +18,7 @@ impl Recipe<Hasher, Event> for Events { fn stream( self: Box<Self>, event_stream: EventStream, - ) -> BoxStream<'static, Self::Output> { + ) -> BoxStream<Self::Output> { event_stream } } |