summaryrefslogtreecommitdiffstats
path: root/futures/src/subscription.rs
diff options
context:
space:
mode:
Diffstat (limited to 'futures/src/subscription.rs')
-rw-r--r--futures/src/subscription.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs
index 3577d19f..f799d5f8 100644
--- a/futures/src/subscription.rs
+++ b/futures/src/subscription.rs
@@ -161,7 +161,7 @@ impl<T> Subscription<T> {
/// }
///
/// fn some_worker() -> impl Stream<Item = Event> {
- /// stream::channel(100, |mut output| async move {
+ /// stream::channel(100, async |mut output| {
/// // Create channel
/// let (sender, mut receiver) = mpsc::channel(100);
///