about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-05 12:44:33 -0400
committerGitHub <noreply@github.com>2017-04-05 12:44:33 -0400
commit56b68305279059e0ff25f87a46e6fa5013a26ae3 (patch)
tree982e4344f59293feca0059cc8c038ec8c565df5e /src/libstd/thread
parent263d5a0dafab35517b827c7f1134c6646d69b024 (diff)
parent509ef4c496ffafdc635c94e52e4d19b01d0bfb6a (diff)
downloadrust-56b68305279059e0ff25f87a46e6fa5013a26ae3.tar.gz
rust-56b68305279059e0ff25f87a46e6fa5013a26ae3.zip
Rollup merge of #41014 - SimonSapin:patch-6, r=frewsxcv
std::thread docs: fix link to current()
Diffstat (limited to 'src/libstd/thread')
-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