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 5bb56bd commit b19d9bbCopy full SHA for b19d9bb
src/config.rs
@@ -15,7 +15,7 @@ pub struct GlobalExecutorConfig {
15
min_threads: Option<usize>,
16
/// The maximum number of threads to spawn.
17
max_threads: Option<usize>,
18
- /// The name to us fo the threads.
+ /// The closure function used to get the name of the thread. The name can be used for identification in panic messages.
19
thread_name_fn: Option<Box<dyn Fn() -> String + Send + Sync>>,
20
}
21
0 commit comments