We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2b07d commit 6f85399Copy full SHA for 6f85399
core/src/stream/mod.rs
@@ -114,9 +114,9 @@
114
//! # Laziness
115
//!
116
//! Streams are *lazy*. This means that just creating a stream doesn't _do_ a
117
-//! whole lot. Nothing really happens until you call `next`. This is sometimes a
118
-//! source of confusion when creating a stream solely for its side effects. The
119
-//! compiler will warn us about this kind of behavior:
+//! whole lot. Nothing really happens until you call `poll_next`. This is
+//! sometimes a source of confusion when creating a stream solely for its side
+//! effects. The compiler will warn us about this kind of behavior:
120
121
//! ```text
122
//! warning: unused result that must be used: streams do nothing unless polled
0 commit comments