We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 598d189 + 514b0ce commit cbdc241Copy full SHA for cbdc241
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