summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/stream')
-rw-r--r--tokio/src/stream/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/stream/mod.rs b/tokio/src/stream/mod.rs
index 308de3f9..6bf42324 100644
--- a/tokio/src/stream/mod.rs
+++ b/tokio/src/stream/mod.rs
@@ -267,7 +267,7 @@ pub trait StreamExt: Stream {
/// # /*
/// #[tokio::main]
/// # */
- /// # #[tokio::main(basic_scheduler)]
+ /// # #[tokio::main(flavor = "current_thread")]
/// async fn main() {
/// # time::pause();
/// let (tx1, rx1) = mpsc::channel(10);