diff options
| author | bors <bors@rust-lang.org> | 2016-03-28 04:06:06 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-28 04:06:06 -0700 |
| commit | 3602f34e9cfe542210b6ac4302ae8d0f0799965b (patch) | |
| tree | 458fbd5c165b7005410893ae89d59a199b627ff2 /src | |
| parent | f738dc1fe4e0f70769b3265fb9f985340659ac34 (diff) | |
| parent | 60a1aa71478792ea21ffe9615f09e40f91c483a5 (diff) | |
Auto merge of #32548 - Hoops:patch-1, r=apasel422
Small typo in concurrency.md Typo "las time" -> "last time"
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/concurrency.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/concurrency.md b/src/doc/book/concurrency.md index 991654b2b8d..87d551b68df 100644 --- a/src/doc/book/concurrency.md +++ b/src/doc/book/concurrency.md @@ -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. 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 involved can cause data races! |
