Merge pull request #744 from danbev/waker_typo

Fix typo in waker.rs
This commit is contained in:
Dario Nieuwenhuis 2022-05-01 20:17:35 +02:00 committed by GitHub
commit e74af83681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
/// ///