about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-07-15 19:55:15 -0400
committerGitHub <noreply@github.com>2019-07-15 19:55:15 -0400
commitba3deeb01aac3d459b4ec82ed304409cc492f18c (patch)
tree42cffad60233fe6e7ddcf65e2ab6221e6a6a3e2b /src
parent40a74438adaf4998c279e2cd8e9f1ed82bd7843e (diff)
parent04cb314ab994673b2c82dbbc748216653d736ae8 (diff)
downloadrust-ba3deeb01aac3d459b4ec82ed304409cc492f18c.tar.gz
rust-ba3deeb01aac3d459b4ec82ed304409cc492f18c.zip
Rollup merge of #62689 - 0e4ef622:patch-1, r=Xanewok
Fix typo in RawWaker::new documentation

poiner -> pointer
Diffstat (limited to 'src')
-rw-r--r--src/libcore/task/wake.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs
index f1247239f4f..6f841bd2adf 100644
--- a/src/libcore/task/wake.rs
+++ b/src/libcore/task/wake.rs
@@ -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