diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-09-18 11:04:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-18 11:04:24 -0500 |
| commit | d5b0cbbeea9e792ba6bef27927abd2d6566800fc (patch) | |
| tree | 2f88f3652f3cfd826e741cdb8a41192d73aeea90 /src/rustllvm/RustWrapper.cpp | |
| parent | fa9dd27168812cbbda754e703be409dada97a81f (diff) | |
| parent | 7859c9ef442055c477e7788a74f971ac68e8bd67 (diff) | |
| download | rust-d5b0cbbeea9e792ba6bef27927abd2d6566800fc.tar.gz rust-d5b0cbbeea9e792ba6bef27927abd2d6566800fc.zip | |
Rollup merge of #44651 - bluss:document-thread-name-no-nuls, r=steveklabnik
Document thread builder panics for nul bytes in thread names This seems to have been undocumented. Mention this where the name is set (Builder::name) and where the panic could happen (Builder::spawn). Thread::new is private and I think the builder is the only user where this matters. A short comment was added to "document" Thread::new too.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
