Fix typos (#348)

This commit is contained in:
Julian Tescher
2018-05-08 11:44:17 -07:00
committed by Carl Lerche
parent 68b82f5721
commit 06b2c40222
30 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ impl Worker {
while self.check_run_state(first) {
first = false;
// Poll inbound until empty, transfering all tasks to the internal
// Poll inbound until empty, transferring all tasks to the internal
// queue.
let consistent = self.drain_inbound();
+2 -2
View File
@@ -71,7 +71,7 @@ impl Stack {
/// Returns `Ok` on success.
///
/// Returns `Err` if the pool has transitioned to the `TERMINATED` state.
/// Whene terminated, pushing new entries is no longer permitted.
/// When terminated, pushing new entries is no longer permitted.
pub fn push(&self, entries: &[worker::Entry], idx: usize) -> Result<(), ()> {
let mut state: State = self.state.load(Acquire).into();
@@ -105,7 +105,7 @@ impl Stack {
///
/// If `terminate` is set and the stack is empty when this function is
/// called, the state of the stack is transitioned to "terminated". At this
/// point, no further workers can be pusheed onto the stack.
/// point, no further workers can be pushed onto the stack.
///
/// # Return
///