Fixed documentation error

This commit is contained in:
bool 2021-01-03 19:54:54 +02:00
parent bcd6975079
commit 514b0ce9d2

View File

@ -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();