]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in std::thread comments
authorAdolfo Ochagavía <aochagavia92@gmail.com>
Thu, 25 Dec 2014 12:38:50 +0000 (13:38 +0100)
committerAdolfo Ochagavía <aochagavia92@gmail.com>
Thu, 25 Dec 2014 12:38:50 +0000 (13:38 +0100)
src/libstd/thread.rs

index 89773207347d548e0d8fafd7f7dbbd38066a2dae..8c66fd39c0c37f6b4f32ac19233554dd0d321a88 100644 (file)
@@ -309,7 +309,7 @@ fn new(name: Option<String>) -> Thread {
 
     /// Spawn a new joinable thread, returning a `JoinGuard` for it.
     ///
-    /// The join guard can be used to explicitly join the child thead (via
+    /// The join guard can be used to explicitly join the child thread (via
     /// `join`), returning `Result<T>`, or it will implicitly join the child
     /// upon being dropped. To detach the child, allowing it to outlive the
     /// current thread, use `detach`.  See the module documentation for additional details.