Skip to content

Commit

Permalink
Fix typo in RawWaker::new documentation
Browse files Browse the repository at this point in the history
poiner -> pointer
  • Loading branch information
0e4ef622 authored Jul 15, 2019
1 parent 5480b47 commit 04cb314
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 04cb314

Please sign in to comment.