diff options
| author | Raphaƫl Huchet <rap2hpoutre@users.noreply.github.com> | 2017-05-04 11:11:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-04 11:11:14 +0200 |
| commit | a3998ad6e59a6a833e27e9ea6691d3ecd1e877a1 (patch) | |
| tree | efa8385a9ac5a1cc169f21b754b83e3f50c221fb /src/libstd/thread | |
| parent | b16c7a235fa0f57fed6b7ec13ffd3cff1bcdd9ad (diff) | |
| download | rust-a3998ad6e59a6a833e27e9ea6691d3ecd1e877a1.tar.gz rust-a3998ad6e59a6a833e27e9ea6691d3ecd1e877a1.zip | |
Join method returns a thread::Result
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 4e49c485f10..7fc43a341a8 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -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. //! |
