Skip to content

Commit

Permalink
Auto merge of #32548 - Hoops:patch-1, r=apasel422
Browse files Browse the repository at this point in the history
Small typo in concurrency.md

Typo "las time" -> "last time"
  • Loading branch information
bors committed Mar 28, 2016
2 parents f738dc1 + 60a1aa7 commit 3602f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/book/concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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!

Expand Down

0 comments on commit 3602f34

Please sign in to comment.