Merge pull request #2927 from qiuweishengx/main

Fix: typo
This commit is contained in:
Dario Nieuwenhuis 2024-05-11 11:45:26 +02:00 committed by GitHub
commit a0da566d22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ use core::task::Poll;
/// ///
/// **Note**: this implementation uses a busy loop to poll the value, /// **Note**: this implementation uses a busy loop to poll the value,
/// which is not as efficient as registering a dedicated `Waker`. /// which is not as efficient as registering a dedicated `Waker`.
/// However, the if the usecase for is to initialize a static variable /// However, if the usecase for it is to initialize a static variable
/// relatively early in the program life cycle, it should be fine. /// relatively early in the program life cycle, it should be fine.
/// ///
/// # Example /// # Example