Improve wording

This commit is contained in:
Lewis Pearson 2024-10-21 02:11:50 -04:00 committed by GitHub
parent 89b8247cbf
commit 8826733dbd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }