Skip to content

Commit

Permalink
docs: fix typo in #[tokio::test] docs (#5636)
Browse files Browse the repository at this point in the history
Both current- and multi-thread runtime claimed to be the default, but only current thread actually is.
  • Loading branch information
adamchalmers committed Apr 20, 2023
1 parent 5cef6eb commit 623483c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tokio-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream {
/// ```
///
/// The `worker_threads` option configures the number of worker threads, and
/// defaults to the number of cpus on the system. This is the default
/// flavor.
/// defaults to the number of cpus on the system.
///
/// Note: The multi-threaded runtime requires the `rt-multi-thread` feature
/// flag.
Expand Down

0 comments on commit 623483c

Please sign in to comment.