We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca9bd0 commit 24723faCopy full SHA for 24723fa
rayon-core/src/lib.rs
@@ -519,9 +519,8 @@ impl<S> ThreadPoolBuilder<S> {
519
/// may change in the future, if you wish to rely on a fixed
520
/// number of threads, you should use this function to specify
521
/// that number. To reproduce the current default behavior, you
522
- /// may wish to use the [`num_cpus`
523
- /// crate](https://crates.io/crates/num_cpus) to query the number
524
- /// of CPUs dynamically.
+ /// may wish to use [`std::thread::available_parallelism`]
+ /// to query the number of CPUs dynamically.
525
///
526
/// **Old environment variable:** `RAYON_NUM_THREADS` is a one-to-one
527
/// replacement of the now deprecated `RAYON_RS_NUM_CPUS` environment
0 commit comments