From 8826733dbd6ba35f8f3d38beda4fba7777285e68 Mon Sep 17 00:00:00 2001 From: Lewis Pearson Date: Mon, 21 Oct 2024 02:11:50 -0400 Subject: [PATCH] Improve wording --- crates/teloxide/src/dispatching/dispatcher.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/teloxide/src/dispatching/dispatcher.rs b/crates/teloxide/src/dispatching/dispatcher.rs index 728d23dd..d70cd3eb 100644 --- a/crates/teloxide/src/dispatching/dispatcher.rs +++ b/crates/teloxide/src/dispatching/dispatcher.rs @@ -106,9 +106,9 @@ where Self { worker_queue_size: size, ..self } } - /// Specifies the stack size of the dispatcher. + /// Specifies the stack size available to the dispatcher. /// - /// By default it's 8 * 1024 * 1024 bytes (8 MiB). + /// By default, it's 8 * 1024 * 1024 bytes (8 MiB). #[must_use] pub fn stack_size(self, size: usize) -> Self { Self { stack_size: size, ..self }