diff options
| author | Daniel Bevenius <[email protected]> | 2022-05-01 19:25:45 +0200 |
|---|---|---|
| committer | Daniel Bevenius <[email protected]> | 2022-05-01 19:25:45 +0200 |
| commit | 7b04c78388aa1a92b7e8a2d15dd1607b5fb877ae (patch) | |
| tree | 30ceabd8d98325ced79dd10dc426a01d45fab4a6 | |
| parent | d600f392608ebebe97d1e7461789d0a724afc9ef (diff) | |
Fix typo in waker.rs
| -rw-r--r-- | embassy/src/executor/raw/waker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy/src/executor/raw/waker.rs b/embassy/src/executor/raw/waker.rs index 7cd847697..ea9010ca0 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<TaskHeader>) -> Waker { | |||
| 24 | 24 | ||
| 25 | /// Get a task pointer from a waker. | 25 | /// Get a task pointer from a waker. |
| 26 | /// | 26 | /// |
| 27 | /// This can used as an optimization in wait queues to store task pointers | 27 | /// This can be used as an optimization in wait queues to store task pointers |
| 28 | /// (1 word) instead of full Wakers (2 words). This saves a bit of RAM and helps | 28 | /// (1 word) instead of full Wakers (2 words). This saves a bit of RAM and helps |
| 29 | /// avoid dynamic dispatch. | 29 | /// avoid dynamic dispatch. |
| 30 | /// | 30 | /// |
