Skip to content

Commit 18c8a83

Browse files
authored
Merge branch 'master' into handle-drop-zst
2 parents 510aeeb + 0674321 commit 18c8a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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).

src/what-unsafe-does.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ language cares about is preventing the following things:
4141
[`NonNull`] that is null. (Requesting custom invalid values is an unstable
4242
feature, but some stable libstd types, like `NonNull`, make use of it.)
4343

44-
For a more detailed explanation about "Undefined Bahavior", you may refer to
44+
For a more detailed explanation about "Undefined Behavior", you may refer to
4545
[the reference][behavior-considered-undefined].
4646

4747
"Producing" a value happens any time a value is assigned, passed to a

0 commit comments

Comments
 (0)