Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document thread builder panics for nul bytes in thread names #44651

Merged
merged 1 commit into from
Sep 18, 2017

Commits on Sep 17, 2017

  1. 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.
    bluss committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    7859c9e View commit details
    Browse the repository at this point in the history