]> git.lizzy.rs Git - rust.git/commitdiff
Address review comments
authorFelix Raimundo <felix.raimundo@tweag.io>
Tue, 9 May 2017 14:52:26 +0000 (16:52 +0200)
committerFelix Raimundo <felix.raimundo@tweag.io>
Tue, 9 May 2017 14:52:26 +0000 (16:52 +0200)
src/libstd/thread/mod.rs

index d4f6c6c67c5429622c0265164bb2ab17676b36dd..9fc1def99b1ee66637dd69d31f250010826258dd 100644 (file)
@@ -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:
 ///