diff options
| author | Geoffry Song <goffrie@gmail.com> | 2022-12-20 14:51:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-20 14:51:24 -0800 |
| commit | f5e776c3f7afc2020d9828b593bac9db27290376 (patch) | |
| tree | 603e3b82d671f7a05a507614c1594cf531ffb1e6 | |
| parent | d6da428f343ab811b2b132364360ba13ff05830c (diff) | |
| download | rust-f5e776c3f7afc2020d9828b593bac9db27290376.tar.gz rust-f5e776c3f7afc2020d9828b593bac9db27290376.zip | |
Refer to "Waker" rather than "RawWaker" in `drop` comment
| -rw-r--r-- | library/core/src/task/wake.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/task/wake.rs b/library/core/src/task/wake.rs index 0cff972df3a..1b7578376b4 100644 --- a/library/core/src/task/wake.rs +++ b/library/core/src/task/wake.rs @@ -104,7 +104,7 @@ pub struct RawWakerVTable { /// pointer. wake_by_ref: unsafe fn(*const ()), - /// This function gets called when a [`RawWaker`] gets dropped. + /// This function gets called when a [`Waker`] gets dropped. /// /// The implementation of this function must make sure to release any /// resources that are associated with this instance of a [`RawWaker`] and @@ -151,7 +151,7 @@ impl RawWakerVTable { /// /// # `drop` /// - /// This function gets called when a [`RawWaker`] gets dropped. + /// This function gets called when a [`Waker`] gets dropped. /// /// The implementation of this function must make sure to release any /// resources that are associated with this instance of a [`RawWaker`] and |
