From 530af3f33131da706e62f7cb569516afef685c4e Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sun, 8 Feb 2026 12:34:44 +0100 Subject: [PATCH] runtime: correct the default thread name in docs (#7896) --- tokio/src/runtime/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs index 71be3de32..e50b33763 100644 --- a/tokio/src/runtime/builder.rs +++ b/tokio/src/runtime/builder.rs @@ -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 ///