Skip to content

Commit fd6bc8b

Browse files
authored
Merge pull request rust-lang#107 from matklad/patch-1
Typo in the docs
2 parents ecbca61 + 7e2c48f commit fd6bc8b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

futures-cpupool/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//!
44
//! This crate provides a simple thread pool abstraction for running work
55
//! externally from the current thread that's running. An instance of `Future`
6-
//! is handed back to represent that the work may be done later, and futher
6+
//! is handed back to represent that the work may be done later, and further
77
//! computations can be chained along with it as well.
88
//!
99
//! ```rust

src/slot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl<T> Slot<T> {
124124

125125
/// Attempts to store `t` in the slot.
126126
///
127-
/// This method can only be called by the one consumer working on this
127+
/// This method can only be called by the one producer working on this
128128
/// `Slot`. Concurrent calls to this method or `on_empty` will result in
129129
/// panics or possibly errors.
130130
///

src/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub fn park() -> TaskHandle {
103103
/// When a future discovers that it's not necessarily in the right place to make
104104
/// progress, it can provide this task with an `Executor` to make more progress.
105105
/// The Task will ensure that it'll eventually schedule a poll on the executor
106-
/// provided in a "prompt" fashion, that is there shohuldn't be a long blocking
106+
/// provided in a "prompt" fashion, that is there shouldn't be a long blocking
107107
/// pause between a call to this and when a future is polled on the executor.
108108
///
109109
/// # Panics

0 commit comments

Comments
 (0)