mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +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 }
|
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]
|
#[must_use]
|
||||||
pub fn stack_size(self, size: usize) -> Self {
|
pub fn stack_size(self, size: usize) -> Self {
|
||||||
Self { stack_size: size, ..self }
|
Self { stack_size: size, ..self }
|
||||||
|
|
Loading…
Reference in a new issue