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 b27f533 commit 0b242c8Copy full SHA for 0b242c8
rayon-core/src/lib.rs
@@ -552,9 +552,8 @@ impl<S> ThreadPoolBuilder<S> {
552
/// may change in the future, if you wish to rely on a fixed
553
/// number of threads, you should use this function to specify
554
/// that number. To reproduce the current default behavior, you
555
- /// may wish to use the [`num_cpus`
556
- /// crate](https://crates.io/crates/num_cpus) to query the number
557
- /// of CPUs dynamically.
+ /// may wish to use [`std::thread::available_parallelism`]
+ /// to query the number of CPUs dynamically.
558
///
559
/// **Old environment variable:** `RAYON_NUM_THREADS` is a one-to-one
560
/// replacement of the now deprecated `RAYON_RS_NUM_CPUS` environment
0 commit comments