Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information