summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stopwatch.rs')
-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;