We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 616f9ef + 64cca29 commit 60aa03aCopy full SHA for 60aa03a
library/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