Fix typo in waker.rs

This commit is contained in:
Daniel Bevenius 2022-05-01 19:25:45 +02:00
parent d600f39260
commit 7b04c78388

View file

@ -24,7 +24,7 @@ pub(crate) unsafe fn from_task(p: NonNull<TaskHeader>) -> 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
/// avoid dynamic dispatch.
///