]> git.lizzy.rs Git - rust.git/commit
Improve `thread::Builder` documentation.
authorFelix Raimundo <felix.raimundo@tweag.io>
Sun, 14 May 2017 17:35:36 +0000 (19:35 +0200)
committerFelix Raimundo <felix.raimundo@tweag.io>
Sun, 14 May 2017 18:13:32 +0000 (20:13 +0200)
commita51777ec874e31b29d85efaa186fe4841257b168
tree49221d0532c3b118a51a9a34b5b32df271432907
parent77f1bec6f5eb9ed632c973b97b12701294e6d3a5
Improve `thread::Builder` documentation.

Part of #29378 .

- In particular explains *why* we would use the builder instead of
  the free function.
- Changes the parent-child explanation for a spawned-caller.
- Add link to `io::Result` in `thread::Builder`
- Corrects the `thread::Builder::spawn` documentation.
src/libstd/thread/mod.rs