Skip to content

Commit 509ef4c

Browse files
authored
std::thread docs: fix link to current()
1 parent 5e122f5 commit 509ef4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/thread/mod.rs

Lines changed: 1 addition & 1 deletion
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)