From 7b04c78388aa1a92b7e8a2d15dd1607b5fb877ae Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sun, 1 May 2022 19:25:45 +0200 Subject: [PATCH] Fix typo in waker.rs --- embassy/src/executor/raw/waker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy/src/executor/raw/waker.rs b/embassy/src/executor/raw/waker.rs index 7cd84769..ea9010ca 100644 --- a/embassy/src/executor/raw/waker.rs +++ b/embassy/src/executor/raw/waker.rs @@ -24,7 +24,7 @@ pub(crate) unsafe fn from_task(p: NonNull) -> 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. ///