Skip to content

Commit 0674321

Browse files
authored
Merge pull request #468 from andersk/races-mostly
races: Clarify a “mostly” that might be misread
2 parents eac89a3 + bb6b27a commit 0674321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/races.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Safe Rust guarantees an absence of data races, which are defined as:
77
* one or more of them is unsynchronized
88

99
A data race has Undefined Behavior, and is therefore impossible to perform in
10-
Safe Rust. Data races are *mostly* prevented through Rust's ownership system:
10+
Safe Rust. Data races are prevented *mostly* through Rust's ownership system alone:
1111
it's impossible to alias a mutable reference, so it's impossible to perform a
1212
data race. Interior mutability makes this more complicated, which is largely why
1313
we have the Send and Sync traits (see the next section for more on this).

0 commit comments

Comments
 (0)