about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-09 16:31:07 +0000
committerbors <bors@rust-lang.org>2017-05-09 16:31:07 +0000
commit644fc403dda0fb51facdc6b8c26a3165512f33ae (patch)
treefce3da654adadc678dacfd316b3191c0b7597113 /src/test/run-pass/thinlto
parentf3fc547194d22dc673274ac20e9a7b1e607cb862 (diff)
parent323a774c2f64619623c45aec068cf6c1c905d314 (diff)
downloadrust-644fc403dda0fb51facdc6b8c26a3165512f33ae.tar.gz
rust-644fc403dda0fb51facdc6b8c26a3165512f33ae.zip
Auto merge of #41814 - gamazeps:thread-struct-doc, r=steveklabnik
[Doc] improve `thread::Thread` and `thread::Builder` documentations

Part of #29378

- Adds information about the stack_size when using `Builder`. This might be considered too low level, but I assume that if someone wants to create their own builder instead of using `thread::spawn` they may be interested in that info.
- Updates the `thread::Thread` structure doc, mostly by explaining how to get one, the previous example was removed because it was not related to `thread::Thread`, but rather to `thread::Builder::name`.
  Not much is present there, mostly because this API is not often used (the only method that seems useful is `unpark`, which is documented in #41809).
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions