]> git.lizzy.rs Git - rust.git/commitdiff
Address review comments
authorFelix Raimundo <felix.raimundo@tweag.io>
Tue, 9 May 2017 14:57:03 +0000 (16:57 +0200)
committerFelix Raimundo <felix.raimundo@tweag.io>
Tue, 9 May 2017 14:57:03 +0000 (16:57 +0200)
src/libstd/thread/mod.rs

index 19adf3e3c3fd7d35cfb680ac53430c26bcf5a1ff..dd8892d6660f3ae9ea7cb1bd45fd56fc9eeb497e 100644 (file)
@@ -400,7 +400,7 @@ pub fn spawn<F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
 ///
 /// # Examples
 ///
-/// Simple thread creation.
+/// Creating a thread.
 ///
 /// ```
 /// use std::thread;
@@ -413,7 +413,7 @@ pub fn spawn<F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
 /// ```
 ///
 /// As mentionned in the module documentation, threads are usualy made to
-/// communicate using [`channel`s][`channels`], here is how it usually looks.
+/// communicate using [`channels`], here is how it usually looks.
 ///
 /// This example also shows how to use `move`, in order to give ownership
 /// of values to a thread.