mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
Rollup merge of #32327 - toddlucas:master, r=apasel422
Minor phrasing adjustment to book references-and-borrowing
This commit is contained in:
commit
d5dceba8fa
@ -163,8 +163,8 @@ both at the same time:
|
|||||||
* exactly one mutable reference (`&mut T`).
|
* exactly one mutable reference (`&mut T`).
|
||||||
|
|
||||||
|
|
||||||
You may notice that this is very similar, though not exactly the same as,
|
You may notice that this is very similar to, though not exactly the same as,
|
||||||
to the definition of a data race:
|
the definition of a data race:
|
||||||
|
|
||||||
> There is a ‘data race’ when two or more pointers access the same memory
|
> There is a ‘data race’ when two or more pointers access the same memory
|
||||||
> location at the same time, where at least one of them is writing, and the
|
> location at the same time, where at least one of them is writing, and the
|
||||||
|
Loading…
Reference in New Issue
Block a user