From: bors Date: Tue, 9 May 2017 16:31:07 +0000 (+0000) Subject: Auto merge of #41814 - gamazeps:thread-struct-doc, r=steveklabnik X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=644fc403dda0fb51facdc6b8c26a3165512f33ae;p=rust.git 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). --- 644fc403dda0fb51facdc6b8c26a3165512f33ae