Skip to content

Commit 7bf0706

Browse files
authored
Rollup merge of rust-lang#41014 - SimonSapin:patch-6, r=frewsxcv
std::thread docs: fix link to current()
2 parents c609826 + 509ef4c commit 7bf0706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
//! [`Err`]: ../../std/result/enum.Result.html#variant.Err
159159
//! [`panic!`]: ../../std/macro.panic.html
160160
//! [`Builder`]: ../../std/thread/struct.Builder.html
161-
//! [`thread::current`]: ../../std/thread/fn.spawn.html
161+
//! [`thread::current`]: ../../std/thread/fn.current.html
162162
//! [`Thread`]: ../../std/thread/struct.Thread.html
163163
//! [`park`]: ../../std/thread/fn.park.html
164164
//! [`unpark`]: ../../std/thread/struct.Thread.html#method.unpark

0 commit comments

Comments
 (0)