Rollup merge of #80656 - booleancoercion:master, r=sfackler
Fixed documentation error for `std::hint::spin_loop` Fixes #80644.
This commit is contained in:
commit
cbdc24174b
@ -91,7 +91,7 @@
|
||||
/// };
|
||||
///
|
||||
/// // Back on our current thread, we wait for the value to be set
|
||||
/// while live.load(Ordering::Acquire) {
|
||||
/// while !live.load(Ordering::Acquire) {
|
||||
/// // The spin loop is a hint to the CPU that we're waiting, but probably
|
||||
/// // not for very long
|
||||
/// hint::spin_loop();
|
||||
|
Loading…
Reference in New Issue
Block a user