File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
//!
4
4
//! This crate provides a simple thread pool abstraction for running work
5
5
//! 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
7
7
//! computations can be chained along with it as well.
8
8
//!
9
9
//! ```rust
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ impl<T> Slot<T> {
124
124
125
125
/// Attempts to store `t` in the slot.
126
126
///
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
128
128
/// `Slot`. Concurrent calls to this method or `on_empty` will result in
129
129
/// panics or possibly errors.
130
130
///
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ pub fn park() -> TaskHandle {
103
103
/// When a future discovers that it's not necessarily in the right place to make
104
104
/// progress, it can provide this task with an `Executor` to make more progress.
105
105
/// 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
107
107
/// pause between a call to this and when a future is polled on the executor.
108
108
///
109
109
/// # Panics
You can’t perform that action at this time.
0 commit comments