We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd6975 commit 514b0ceCopy full SHA for 514b0ce
library/core/src/hint.rs
@@ -91,7 +91,7 @@ pub const unsafe fn unreachable_unchecked() -> ! {
91
/// };
92
///
93
/// // Back on our current thread, we wait for the value to be set
94
-/// while live.load(Ordering::Acquire) {
+/// while !live.load(Ordering::Acquire) {
95
/// // The spin loop is a hint to the CPU that we're waiting, but probably
96
/// // not for very long
97
/// hint::spin_loop();
0 commit comments