Skip to content

Commit 530af3f

Browse files
authored
runtime: correct the default thread name in docs (#7896)
1 parent d89e998 commit 530af3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tokio/src/runtime/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ impl Builder {
516516

517517
/// Sets name of threads spawned by the `Runtime`'s thread pool.
518518
///
519-
/// The default name is "tokio-runtime-worker".
519+
/// The default name is "tokio-rt-worker".
520520
///
521521
/// # Examples
522522
///
@@ -540,7 +540,7 @@ impl Builder {
540540

541541
/// Sets a function used to generate the name of threads spawned by the `Runtime`'s thread pool.
542542
///
543-
/// The default name fn is `|| "tokio-runtime-worker".into()`.
543+
/// The default name fn is `|| "tokio-rt-worker".into()`.
544544
///
545545
/// # Examples
546546
///

0 commit comments

Comments
 (0)