Refer to "Waker" rather than "RawWaker" in drop
comment
This commit is contained in:
parent
d6da428f34
commit
f5e776c3f7
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ pub struct RawWakerVTable {
|
||||||
/// pointer.
|
/// pointer.
|
||||||
wake_by_ref: unsafe fn(*const ()),
|
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
|
/// The implementation of this function must make sure to release any
|
||||||
/// resources that are associated with this instance of a [`RawWaker`] and
|
/// resources that are associated with this instance of a [`RawWaker`] and
|
||||||
|
@ -151,7 +151,7 @@ impl RawWakerVTable {
|
||||||
///
|
///
|
||||||
/// # `drop`
|
/// # `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
|
/// The implementation of this function must make sure to release any
|
||||||
/// resources that are associated with this instance of a [`RawWaker`] and
|
/// resources that are associated with this instance of a [`RawWaker`] and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue