1
Fork 0

Rollup merge of #62689 - 0e4ef622:patch-1, r=Xanewok

Fix typo in RawWaker::new documentation

poiner -> pointer
This commit is contained in:
Mark Rousskov 2019-07-15 19:55:15 -04:00 committed by GitHub
commit ba3deeb01a
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