about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2017-09-17 10:19:11 +0200
committerUlrik Sverdrup <bluss@users.noreply.github.com>2017-09-17 10:21:15 +0200
commit7859c9ef442055c477e7788a74f971ac68e8bd67 (patch)
tree5ad3af6436442ba27d13705b0711b68b1c9e3f48 /src/rustllvm/RustWrapper.cpp
parentefceda220e92f02f7a29a15e4cf56f5a3cdf1792 (diff)
downloadrust-7859c9ef442055c477e7788a74f971ac68e8bd67.tar.gz
rust-7859c9ef442055c477e7788a74f971ac68e8bd67.zip
std: 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