Skip to content

Commit 55dbffe

Browse files
committed
Rollup merge of rust-lang#32654 - tbu-:pr_doc_joinhandleext, r=sfackler
Fix a typo in the doc comment of `std::os::unix::thread::JoinHandleExt`
2 parents cf0a01a + 28e45bb commit 55dbffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/ext/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub trait JoinHandleExt {
3030
///
3131
/// This function **transfers ownership** of the underlying pthread_t to
3232
/// the caller. Callers are then the unique owners of the pthread_t and
33-
/// must either detech or join the pthread_t once it's no longer needed.
33+
/// must either detach or join the pthread_t once it's no longer needed.
3434
fn into_pthread_t(self) -> RawPthread;
3535
}
3636

0 commit comments

Comments
 (0)