]> git.lizzy.rs Git - rust.git/commitdiff
std::thread::spawn: Fix grammar in documentation
authorJoshua Liebow-Feeser <hello@joshlf.com>
Mon, 24 Jul 2017 18:17:29 +0000 (11:17 -0700)
committerJoshua Liebow-Feeser <hello@joshlf.com>
Mon, 24 Jul 2017 18:17:29 +0000 (11:17 -0700)
src/libstd/thread/mod.rs

index 07a3a01ce8666074adebb1ccff2d506c0303f1d3..5f01e6352018806147b8da5b1b7db74928902dba 100644 (file)
@@ -413,7 +413,7 @@ pub fn spawn<F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
 ///   *by value* from the thread where it is spawned to the new thread. Its
 ///   return value will need to be passed from the new thread to the thread
 ///   where it is `join`ed.
-///   As a reminder, the [`Send`] marker trait, expresses that it is safe to be
+///   As a reminder, the [`Send`] marker trait expresses that it is safe to be
 ///   passed from thread to thread. [`Sync`] expresses that it is safe to have a
 ///   reference be passed from thread to thread.
 ///