Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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