about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-29 01:50:34 +0000
committerbors <bors@rust-lang.org>2016-02-29 01:50:34 +0000
commit953f6c9cc9deceaabb71df8dcb879b104b0c8fb4 (patch)
treed1225d648471e6f16731bb8af601b4fbda0b55df
parentd5558825b484b022fc00715b8bf441c2542ac4a2 (diff)
parent7f59e069e862277f30ce983661cdd4481039907d (diff)
downloadrust-953f6c9cc9deceaabb71df8dcb879b104b0c8fb4.tar.gz
rust-953f6c9cc9deceaabb71df8dcb879b104b0c8fb4.zip
Auto merge of #31959 - teoryn:patch-4, r=Manishearth
-rw-r--r--src/doc/book/concurrency.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/concurrency.md b/src/doc/book/concurrency.md
index 752c0972102..30e4ad7ba5b 100644
--- a/src/doc/book/concurrency.md
+++ b/src/doc/book/concurrency.md
@@ -259,7 +259,7 @@ thread::spawn(move || {
 ```
 
 First, we call `lock()`, which acquires the mutex's lock. Because this may fail,
-it returns an `Result<T, E>`, and because this is just an example, we `unwrap()`
+it returns a `Result<T, E>`, and because this is just an example, we `unwrap()`
 it to get a reference to the data. Real code would have more robust error handling
 here. We're then free to mutate it, since we have the lock.