diff options
Diffstat (limited to 'embassy-sync/src/once_lock.rs')
| -rw-r--r-- | embassy-sync/src/once_lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/once_lock.rs b/embassy-sync/src/once_lock.rs index 31cc99711..9332ecfaf 100644 --- a/embassy-sync/src/once_lock.rs +++ b/embassy-sync/src/once_lock.rs | |||
| @@ -13,7 +13,7 @@ use core::task::Poll; | |||
| 13 | /// | 13 | /// |
| 14 | /// **Note**: this implementation uses a busy loop to poll the value, | 14 | /// **Note**: this implementation uses a busy loop to poll the value, |
| 15 | /// which is not as efficient as registering a dedicated `Waker`. | 15 | /// which is not as efficient as registering a dedicated `Waker`. |
| 16 | /// However, the if the usecase for is to initialize a static variable | 16 | /// However, if the usecase for it is to initialize a static variable |
| 17 | /// relatively early in the program life cycle, it should be fine. | 17 | /// relatively early in the program life cycle, it should be fine. |
| 18 | /// | 18 | /// |
| 19 | /// # Example | 19 | /// # Example |
