diff options
| author | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-09 16:52:26 +0200 |
|---|---|---|
| committer | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-09 16:52:26 +0200 |
| commit | 323a774c2f64619623c45aec068cf6c1c905d314 (patch) | |
| tree | 5c7e5d6fa090509eea04f03df4d1bbcdb4f2ec18 /src/libstd/thread | |
| parent | c9e5eab6ff54fa4c24ab79894c4415615195db7c (diff) | |
| download | rust-323a774c2f64619623c45aec068cf6c1c905d314.tar.gz rust-323a774c2f64619623c45aec068cf6c1c905d314.zip | |
Address review comments
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index d4f6c6c67c5..9fc1def99b1 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -244,7 +244,7 @@ impl Builder { /// Generates the base configuration for spawning a thread, from which /// configuration methods can be chained. /// - /// If the [`stack_size`][stack_size] field is not specified, the stack size + /// If the [`stack_size`] field is not specified, the stack size /// will be the `RUST_MIN_STACK` environment variable, if it is /// not specified either, a sensible default size will be set (2MB as /// of the writting of this doc). @@ -265,7 +265,7 @@ impl Builder { /// handler.join().unwrap(); /// ``` /// - /// [stack_size]: ../../std/thread/struct.Builder.html#method.stack_size + /// [`stack_size`]: ../../std/thread/struct.Builder.html#method.stack_size #[stable(feature = "rust1", since = "1.0.0")] pub fn new() -> Builder { Builder { @@ -721,6 +721,8 @@ struct Inner { #[derive(Clone)] #[stable(feature = "rust1", since = "1.0.0")] +/// A handle to a thread. +/// /// Threads are represented via the `Thread` type, which you can get in one of /// two ways: /// |
