Fix typo in waker.rs
This commit is contained in:
parent
d600f39260
commit
7b04c78388
@ -24,7 +24,7 @@ pub(crate) unsafe fn from_task(p: NonNull<TaskHeader>) -> Waker {
|
|||||||
|
|
||||||
/// Get a task pointer from a waker.
|
/// Get a task pointer from a waker.
|
||||||
///
|
///
|
||||||
/// This can used as an optimization in wait queues to store task pointers
|
/// This can be used as an optimization in wait queues to store task pointers
|
||||||
/// (1 word) instead of full Wakers (2 words). This saves a bit of RAM and helps
|
/// (1 word) instead of full Wakers (2 words). This saves a bit of RAM and helps
|
||||||
/// avoid dynamic dispatch.
|
/// avoid dynamic dispatch.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user