1
Fork 0

Auto merge of #32548 - Hoops:patch-1, r=apasel422

Small typo in concurrency.md

Typo "las time" -> "last time"
This commit is contained in:
bors 2016-03-28 04:06:06 -07:00
commit 3602f34e9c

View file

@ -271,7 +271,7 @@ fn main() {
} }
``` ```
Similarly to las time, we use `clone()` to create a new owned handle. Similarly to last time, we use `clone()` to create a new owned handle.
This handle is then moved into the new thread. This handle is then moved into the new thread.
And... still gives us an error. And... still gives us an error.
@ -282,7 +282,7 @@ And... still gives us an error.
^~~~ ^~~~
``` ```
`Arc<T> by default has immutable contents. It allows the _sharing_ of data `Arc<T>` by default has immutable contents. It allows the _sharing_ of data
between threads, but shared mutable data is unsafe and when threads are between threads, but shared mutable data is unsafe and when threads are
involved can cause data races! involved can cause data races!