aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQWS <[email protected]>2024-05-10 22:22:24 +0800
committerQWS <[email protected]>2024-05-10 22:22:24 +0800
commitfe68308958cbf39a12c8c4be560b0e449e70907a (patch)
tree70e1bcd5a6a1afedca1c7a8fc71c5bac5f1fdc57
parent9cbbedef793d619c659c6a81080675282690a8af (diff)
Fix: typo
-rw-r--r--embassy-sync/src/once_lock.rs2
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