You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/2996-async-stream.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ This includes a trait for producing streams and a trait for consuming streams.
46
46
47
47
A "stream" is the async version of an [iterator].
48
48
49
-
The `Iterator` trait includes a `next` method, which computes and returns the next item in the sequence. The `Stream` trait includes the `poll_next` method to assist with defining a stream. In the future, we should add a `next` method for use when consuming and interacting with a stream (see the [Future possiblilities](future-possibilities) section later in this RFC).
49
+
The `Iterator` trait includes a `next` method, which computes and returns the next item in the sequence. The `Stream` trait includes the `poll_next` method to assist with defining a stream. In the future, we should add a `next` method for use when consuming and interacting with a stream (see the [Future possiblilities][future-possibilities] section later in this RFC).
50
50
51
51
## poll_next method
52
52
@@ -216,7 +216,7 @@ Stream` values without the need to monomorphize the functions that work
216
216
with them.
217
217
218
218
Unfortunately, the use of poll does mean that it is harder to write
219
-
stream implementations. The long-term fix for this, discussed in the [Future possiblilities](future-possibilities) section, is dedicated [generator syntax].
219
+
stream implementations. The long-term fix for this, discussed in the [Future possiblilities][future-possibilities] section, is dedicated [generator syntax].
0 commit comments