about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-04-02 12:03:54 +0200
committerGitHub <noreply@github.com>2017-04-02 12:03:54 +0200
commit509ef4c496ffafdc635c94e52e4d19b01d0bfb6a (patch)
treee1de6327b6b8fd34c00561023446f8e8137e84b7 /src/libstd
parent5e122f59ba23494d460466cca53c71646d99c767 (diff)
downloadrust-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.rs2
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