Skip to content

Commit 953f6c9

Browse files
committed
Auto merge of #31959 - teoryn:patch-4, r=Manishearth
2 parents d555882 + 7f59e06 commit 953f6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/concurrency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ thread::spawn(move || {
259259
```
260260

261261
First, we call `lock()`, which acquires the mutex's lock. Because this may fail,
262-
it returns an `Result<T, E>`, and because this is just an example, we `unwrap()`
262+
it returns a `Result<T, E>`, and because this is just an example, we `unwrap()`
263263
it to get a reference to the data. Real code would have more robust error handling
264264
here. We're then free to mutate it, since we have the lock.
265265

0 commit comments

Comments
 (0)