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 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
Original file line number Diff line number Diff 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 ///
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments