mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
runtime: correct the default thread name in docs (#7896)
This commit is contained in:
@@ -516,7 +516,7 @@ impl Builder {
|
||||
|
||||
/// Sets name of threads spawned by the `Runtime`'s thread pool.
|
||||
///
|
||||
/// The default name is "tokio-runtime-worker".
|
||||
/// The default name is "tokio-rt-worker".
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@@ -540,7 +540,7 @@ impl Builder {
|
||||
|
||||
/// Sets a function used to generate the name of threads spawned by the `Runtime`'s thread pool.
|
||||
///
|
||||
/// The default name fn is `|| "tokio-runtime-worker".into()`.
|
||||
/// The default name fn is `|| "tokio-rt-worker".into()`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user