diff options
-rw-r--r-- | tokio-macros/src/entry.rs | 2 | ||||
-rw-r--r-- | tokio-macros/src/lib.rs | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/tokio-macros/src/entry.rs b/tokio-macros/src/entry.rs index 8eb184a3..f5c62a4f 100644 --- a/tokio-macros/src/entry.rs +++ b/tokio-macros/src/entry.rs @@ -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)); } } diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 47d780a2..552570fa 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -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 |