We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6edc994 commit 127e63cCopy full SHA for 127e63c
src/doc/tarpl/races.md
@@ -25,7 +25,7 @@ race condition can't violate memory safety in a Rust program on
25
its own. Only in conjunction with some other unsafe code can a race condition
26
actually violate memory safety. For instance:
27
28
-```rust,norun
+```rust,no_run
29
use std::thread;
30
use std::sync::atomic::{AtomicUsize, Ordering};
31
use std::sync::Arc;
@@ -56,7 +56,7 @@ thread::spawn(move || {
56
println!("{}", data[idx.load(Ordering::SeqCst)]);
57
```
58
59
60
61
62
0 commit comments