doc: fix runtime::Builder example (#1841)

This commit is contained in:
Oleg Nosov
2019-11-27 12:03:57 -08:00
committed by Carl Lerche
parent 2cd1d74092
commit dc356a4158
+2 -1
View File
@@ -25,8 +25,9 @@ use std::sync::Arc;
/// use tokio::runtime::Builder;
///
/// fn main() {
/// // build Runtime
/// // build runtime
/// let runtime = Builder::new()
/// .threaded_scheduler()
/// .num_threads(4)
/// .thread_name("my-custom-name")
/// .thread_stack_size(3 * 1024 * 1024)