We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0674321 + 6855d3a commit 97e84a3Copy full SHA for 97e84a3
src/races.md
@@ -60,8 +60,8 @@ thread::spawn(move || {
60
println!("{}", data[idx.load(Ordering::SeqCst)]);
61
```
62
63
-We can cause a data race if we instead do the bound check in advance, and then
64
-unsafely access the data with an unchecked value:
+We can cause a race condition to violate memory safety if we instead do the bound
+check in advance, and then unsafely access the data with an unchecked value:
65
66
```rust,no_run
67
use std::thread;
0 commit comments