Skip to content

Commit 2878009

Browse files
iovxwcramertj
authored andcommitted
Fix typo: Whne -> When
1 parent 88ba665 commit 2878009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-executor/src/local_pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub fn block_on<F: Future>(f: F) -> Result<F::Item, F::Error> {
209209

210210
/// Turn a stream into a blocking iterator.
211211
///
212-
/// Whne `next` is called on the resulting `BlockingStream`, the caller
212+
/// When `next` is called on the resulting `BlockingStream`, the caller
213213
/// will be blocked until the next element of the `Stream` becomes available.
214214
/// The default executor for the future is a global `ThreadPool`.
215215
pub fn block_on_stream<S: Stream>(s: S) -> BlockingStream<S> {

0 commit comments

Comments
 (0)