summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-14 01:13:01 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-14 01:13:01 +0100
commitc688452d7beb1b17ef8416fc101f8868767fc457 (patch)
treec2ef229276dcf9b4040bbeb70d048120f9738106 /examples/stopwatch.rs
parent69ed631d449e74b38054aa052c620368cb65c72c (diff)
downloadiced-c688452d7beb1b17ef8416fc101f8868767fc457.tar.gz
iced-c688452d7beb1b17ef8416fc101f8868767fc457.tar.bz2
iced-c688452d7beb1b17ef8416fc101f8868767fc457.zip
Consume `Recipe` when building a `Stream`
Diffstat (limited to '')
-rw-r--r--examples/stopwatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stopwatch.rs b/examples/stopwatch.rs
index 4f931278..b902baae 100644
--- a/examples/stopwatch.rs
+++ b/examples/stopwatch.rs
@@ -167,7 +167,7 @@ mod time {
}
fn stream(
- &self,
+ self: Box<Self>,
_input: Input,
) -> futures::stream::BoxStream<'static, Self::Output> {
use futures::stream::StreamExt;