Join method returns a thread::Result

This commit is contained in:
Raphaël Huchet 2017-05-04 11:11:14 +02:00 committed by GitHub
parent b16c7a235f
commit a3998ad6e5

View File

@ -66,7 +66,7 @@
//! let res = child.join();
//! ```
//!
//! The [`join`] method returns a [`Result`] containing [`Ok`] of the final
//! The [`join`] method returns a [`thread::Result`] containing [`Ok`] of the final
//! value produced by the child thread, or [`Err`] of the value given to
//! a call to [`panic!`] if the child panicked.
//!