Skip to content

Commit 323a774

Browse files
author
Felix Raimundo
committed
Address review comments
1 parent c9e5eab commit 323a774

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libstd/thread/mod.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl Builder {
244244
/// Generates the base configuration for spawning a thread, from which
245245
/// configuration methods can be chained.
246246
///
247-
/// If the [`stack_size`][stack_size] field is not specified, the stack size
247+
/// If the [`stack_size`] field is not specified, the stack size
248248
/// will be the `RUST_MIN_STACK` environment variable, if it is
249249
/// not specified either, a sensible default size will be set (2MB as
250250
/// of the writting of this doc).
@@ -265,7 +265,7 @@ impl Builder {
265265
/// handler.join().unwrap();
266266
/// ```
267267
///
268-
/// [stack_size]: ../../std/thread/struct.Builder.html#method.stack_size
268+
/// [`stack_size`]: ../../std/thread/struct.Builder.html#method.stack_size
269269
#[stable(feature = "rust1", since = "1.0.0")]
270270
pub fn new() -> Builder {
271271
Builder {
@@ -721,6 +721,8 @@ struct Inner {
721721

722722
#[derive(Clone)]
723723
#[stable(feature = "rust1", since = "1.0.0")]
724+
/// A handle to a thread.
725+
///
724726
/// Threads are represented via the `Thread` type, which you can get in one of
725727
/// two ways:
726728
///

0 commit comments

Comments
 (0)