docs: rm 8MB stack size comment in BlockingTaskPool (#18616)

This commit is contained in:
Alvarez
2025-09-23 23:43:07 +02:00
committed by GitHub
parent 5856c2e9f0
commit 4779fea9d4

View File

@@ -69,8 +69,9 @@ impl BlockingTaskPool {
/// Convenience function to build a new threadpool with the default configuration.
///
/// Uses [`rayon::ThreadPoolBuilder::build`](rayon::ThreadPoolBuilder::build) defaults but
/// increases the stack size to 8MB.
/// Uses [`rayon::ThreadPoolBuilder::build`](rayon::ThreadPoolBuilder::build) defaults.
/// If a different stack size or other parameters are needed, they can be configured via
/// [`rayon::ThreadPoolBuilder`] returned by [`Self::builder`].
pub fn build() -> Result<Self, rayon::ThreadPoolBuildError> {
Self::builder().thread_name(|i| format!("rayon-{i}")).build().map(Self::new)
}