Skip to content

Commit

Permalink
doc: fix runtime::Builder example (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn authored and carllerche committed Nov 27, 2019
1 parent 2cd1d74 commit dc356a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tokio/src/runtime/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc356a4

Please sign in to comment.