We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4896450 commit 2e4215cCopy full SHA for 2e4215c
library/std/src/sync/once.rs
@@ -471,7 +471,7 @@ fn wait(state_and_queue: &AtomicUsize, mut current_state: usize) {
471
// If the managing thread happens to signal and unpark us before we
472
// can park ourselves, the result could be this thread never gets
473
// unparked. Luckily `park` comes with the guarantee that if it got
474
- // an `unpark` just before on an unparked thread is does not park.
+ // an `unpark` just before on an unparked thread it does not park.
475
thread::park();
476
}
477
break;
0 commit comments