We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a77a5 commit b42b3f1Copy full SHA for b42b3f1
tokio/src/sync/set_once.rs
@@ -357,7 +357,7 @@ impl<T> SetOnce<T> {
357
358
/// Waits until set is called.
359
///
360
- /// If the state failed to initalize it will return `None`.
+ /// If the state failed to initialize it will return `None`.
361
pub async fn get_wait(&self) -> Option<&T> {
362
let notify_fut = self.notify.notified();
363
pin!(notify_fut);
0 commit comments