Skip to content

Commit

Permalink
docs: remove max_threads mentions in tokio-macros (#3038)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelc authored Oct 24, 2020
1 parent a95378a commit c30ce1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion tokio-macros/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn parse_knobs(
return Err(syn::Error::new_spanned(namevalue, msg));
}
name => {
let msg = format!("Unknown attribute {} is specified; expected one of: `flavor`, `worker_threads`, `max_threads`", name);
let msg = format!("Unknown attribute {} is specified; expected one of: `flavor`, `worker_threads`", name);
return Err(syn::Error::new_spanned(namevalue, msg));
}
}
Expand Down
4 changes: 0 additions & 4 deletions tokio-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ pub fn test(args: TokenStream, item: TokenStream) -> TokenStream {

/// Marks async function to be executed by runtime, suitable to test environment
///
/// ## Options:
///
/// - `max_threads=n` - Sets max threads to `n`.
///
/// ## Usage
///
/// ```no_run
Expand Down

0 comments on commit c30ce1f

Please sign in to comment.