Fix typo in RawWaker::new documentation

poiner -> pointer
This commit is contained in:
0e4ef622 2019-07-15 10:03:53 -05:00 committed by GitHub
parent 5480b47d7f
commit 04cb314ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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