about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2016-03-31 19:28:06 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2016-03-31 19:28:06 +0200
commit28e45bb96a2d6e956cc2e8cd1a8686a3de97eb25 (patch)
treecfe73a4538b7c814889c37b0ba1de89af9813641
parent4583dc9b13f8a46b10bcc8eb4483080b9736cdd2 (diff)
downloadrust-28e45bb96a2d6e956cc2e8cd1a8686a3de97eb25.tar.gz
rust-28e45bb96a2d6e956cc2e8cd1a8686a3de97eb25.zip
Fix a typo in the doc comment of `std::os::unix::thread::JoinHandleExt`
-rw-r--r--src/libstd/sys/unix/ext/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/ext/thread.rs b/src/libstd/sys/unix/ext/thread.rs
index bb8200ff859..c98e42faba7 100644
--- a/src/libstd/sys/unix/ext/thread.rs
+++ b/src/libstd/sys/unix/ext/thread.rs
@@ -30,7 +30,7 @@ pub trait JoinHandleExt {
     ///
     /// This function **transfers ownership** of the underlying pthread_t to
     /// the caller. Callers are then the unique owners of the pthread_t and
-    /// must either detech or join the pthread_t once it's no longer needed.
+    /// must either detach or join the pthread_t once it's no longer needed.
     fn into_pthread_t(self) -> RawPthread;
 }