Skip to content

Commit

Permalink
Refer to "Waker" rather than "RawWaker" in drop comment
Browse files Browse the repository at this point in the history
  • Loading branch information
goffrie committed Dec 20, 2022
1 parent d6da428 commit f5e776c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/task/wake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f5e776c

Please sign in to comment.