mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fix a typo in the doc comment of std::os::unix::thread::JoinHandleExt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user