Skip to content

Commit 3602f34

Browse files
committed
Auto merge of #32548 - Hoops:patch-1, r=apasel422
Small typo in concurrency.md Typo "las time" -> "last time"
2 parents f738dc1 + 60a1aa7 commit 3602f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/book/concurrency.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ fn main() {
271271
}
272272
```
273273

274-
Similarly to las time, we use `clone()` to create a new owned handle.
274+
Similarly to last time, we use `clone()` to create a new owned handle.
275275
This handle is then moved into the new thread.
276276

277277
And... still gives us an error.
@@ -282,7 +282,7 @@ And... still gives us an error.
282282
^~~~
283283
```
284284

285-
`Arc<T> by default has immutable contents. It allows the _sharing_ of data
285+
`Arc<T>` by default has immutable contents. It allows the _sharing_ of data
286286
between threads, but shared mutable data is unsafe and when threads are
287287
involved can cause data races!
288288

0 commit comments

Comments
 (0)