]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41994 - gamazeps:thread-builder, r=GuillaumeGomez
authorMark Simulacrum <mark.simulacrum@gmail.com>
Tue, 16 May 2017 14:18:30 +0000 (08:18 -0600)
committerGitHub <noreply@github.com>
Tue, 16 May 2017 14:18:30 +0000 (08:18 -0600)
[Doc] Implrove `thread::Builder`'s doc.

Part of #29378 .

- Explains *why* we would use the builder instead ofthe free function.
- Changes the parent-child explanation for a spawned-caller in `thread::Builder::spawn`
- Adds a link to `io::Result` in `thread::Builder`
- Corrects the return type doc in `thread::Builder::spawn`

r? @rust-lang/docs

1  2 
src/libstd/thread/mod.rs

Simple merge