diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-04-02 12:03:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-02 12:03:54 +0200 |
| commit | 509ef4c496ffafdc635c94e52e4d19b01d0bfb6a (patch) | |
| tree | e1de6327b6b8fd34c00561023446f8e8137e84b7 /src/libstd | |
| parent | 5e122f59ba23494d460466cca53c71646d99c767 (diff) | |
| download | rust-509ef4c496ffafdc635c94e52e4d19b01d0bfb6a.tar.gz rust-509ef4c496ffafdc635c94e52e4d19b01d0bfb6a.zip | |
std::thread docs: fix link to current()
Diffstat (limited to 'src/libstd')
| -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 edf928d6106..18c00e7c5f1 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -158,7 +158,7 @@ //! [`Err`]: ../../std/result/enum.Result.html#variant.Err //! [`panic!`]: ../../std/macro.panic.html //! [`Builder`]: ../../std/thread/struct.Builder.html -//! [`thread::current`]: ../../std/thread/fn.spawn.html +//! [`thread::current`]: ../../std/thread/fn.current.html //! [`Thread`]: ../../std/thread/struct.Thread.html //! [`park`]: ../../std/thread/fn.park.html //! [`unpark`]: ../../std/thread/struct.Thread.html#method.unpark |
