mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-21 22:15:13 +01:00
Improve wording
This commit is contained in:
parent
89b8247cbf
commit
8826733dbd
1 changed files with 2 additions and 2 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue