Skip to content

Commit b19d9bb

Browse files
authored
Fix small spelling mistake of GlobalExecutorConfig. (#3)
* Fix small spelling mistake * Edit description for annotation of thread_name_fn.
1 parent 5bb56bd commit b19d9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct GlobalExecutorConfig {
1515
min_threads: Option<usize>,
1616
/// The maximum number of threads to spawn.
1717
max_threads: Option<usize>,
18-
/// The name to us fo the threads.
18+
/// The closure function used to get the name of the thread. The name can be used for identification in panic messages.
1919
thread_name_fn: Option<Box<dyn Fn() -> String + Send + Sync>>,
2020
}
2121

0 commit comments

Comments
 (0)