Skip to content

Commit 8157b0a

Browse files
bbigrascramertj
authored andcommitted
fix typos
1 parent 7aa83f6 commit 8157b0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

futures-util/src/stream/futures_ordered.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl<T: Future> Unpin for FuturesOrdered<T> {}
100100

101101
/// Converts a list of futures into a `Stream` of results from the futures.
102102
///
103-
/// This function will take an list of futures (e.g. a vector, an iterator,
103+
/// This function will take a list of futures (e.g. a vector, an iterator,
104104
/// etc), and return a stream. The stream will yield items as they become
105105
/// available on the futures internally, in the order that their originating
106106
/// futures were submitted to the queue. If the futures complete out of order,

futures-util/src/stream/futures_unordered/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ impl<Fut: Future> FromIterator<Fut> for FuturesUnordered<Fut> {
453453

454454
/// Converts a list of futures into a [`Stream`] of outputs from the futures.
455455
///
456-
/// This function will take an list of futures (e.g. a [`Vec`], an [`Iterator`],
456+
/// This function will take a list of futures (e.g. a [`Vec`], an [`Iterator`],
457457
/// etc), and return a stream. The stream will yield items as they become
458458
/// available on the futures internally, in the order that they become
459459
/// available. This function is similar to

0 commit comments

Comments
 (0)