Skip to content

Commit 04cb314

Browse files
authored
Fix typo in RawWaker::new documentation
poiner -> pointer
1 parent 5480b47 commit 04cb314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/task/wake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl RawWaker {
3131
/// The `data` pointer can be used to store arbitrary data as required
3232
/// by the executor. This could be e.g. a type-erased pointer to an `Arc`
3333
/// that is associated with the task.
34-
/// The value of this poiner will get passed to all functions that are part
34+
/// The value of this pointer will get passed to all functions that are part
3535
/// of the `vtable` as the first parameter.
3636
///
3737
/// The `vtable` customizes the behavior of a `Waker` which gets created

0 commit comments

Comments
 (0)