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

doc: remove incorrect panic section for Builder::worker_threads #4849

Merged
merged 1 commit into from Jul 23, 2022

Commits on Jul 20, 2022

  1. doc: remove incorrect panic section for Builder::worker_threads

    The documentation for the runtime `Builder::worker_threads` function
    incorrectly stated that it would panic if used when constructing a
    `current_thread` runtime. In truth, the call to the function has no
    effect.
    
    Since adding the described panic to the code could cause new panics in
    existing code using tokio, the documentation has been modified to
    describe the existing behavior.
    
    Refs: tokio-rs#4773
    hds committed Jul 20, 2022
    Copy the full SHA
    8e2aa68 View commit details
    Browse the repository at this point in the history