about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-04-01 18:44:50 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-04-02 01:23:25 +0530
commit55dbffe6dfe344caab85ee5a0fb9718c72755f07 (patch)
treed0b7ac280c476187deb86fdee4df3a7fd8c12651 /src/libstd
parentcf0a01a161ebbf01230f2e12b7ec8ce9544d4d5f (diff)
parent28e45bb96a2d6e956cc2e8cd1a8686a3de97eb25 (diff)
downloadrust-55dbffe6dfe344caab85ee5a0fb9718c72755f07.tar.gz
rust-55dbffe6dfe344caab85ee5a0fb9718c72755f07.zip
Rollup merge of #32654 - tbu-:pr_doc_joinhandleext, r=sfackler
Fix a typo in the doc comment of `std::os::unix::thread::JoinHandleExt`
Diffstat (limited to 'src/libstd')
-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;
 }