Skip to content

Commit

Permalink
Rollup merge of rust-lang#62689 - 0e4ef622:patch-1, r=Xanewok
Browse files Browse the repository at this point in the history
Fix typo in RawWaker::new documentation

poiner -> pointer
  • Loading branch information
Mark-Simulacrum authored Jul 15, 2019
2 parents 40a7443 + 04cb314 commit ba3deeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/task/wake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl RawWaker {
/// The `data` pointer can be used to store arbitrary data as required
/// by the executor. This could be e.g. a type-erased pointer to an `Arc`
/// that is associated with the task.
/// The value of this poiner will get passed to all functions that are part
/// The value of this pointer will get passed to all functions that are part
/// of the `vtable` as the first parameter.
///
/// The `vtable` customizes the behavior of a `Waker` which gets created
Expand Down

0 comments on commit ba3deeb

Please sign in to comment.