Remove nightly clippy lint that is not yet available in stable.

This commit is contained in:
Peter Huene 2019-11-11 18:54:34 -08:00
parent c9d09796ab
commit 5197c2b2d6
No known key found for this signature in database
GPG Key ID: E1D265D820213D6A
2 changed files with 0 additions and 3 deletions

View File

@ -60,7 +60,6 @@ fn attribute_args_from_name(name: &str, span: Span) -> AttributeArgs {
/// azure_functions::worker_main(::std::env::args(), EXPORTS);
/// }
/// ```
#[allow(clippy::needless_doctest_main)]
#[proc_macro]
pub fn export(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
export::export_impl(input)

View File

@ -150,7 +150,6 @@ pub trait FromVec<T> {
/// azure_functions::worker_main(::std::env::args(), EXPORTS);
/// }
/// ```
#[allow(clippy::needless_doctest_main)]
pub fn worker_main(args: impl Iterator<Item = String>, functions: &[&'static codegen::Function]) {
worker_main_with_extensions(args, functions, &[])
}
@ -170,7 +169,6 @@ pub fn worker_main(args: impl Iterator<Item = String>, functions: &[&'static cod
/// );
/// }
/// ```
#[allow(clippy::needless_doctest_main)]
pub fn worker_main_with_extensions(
args: impl Iterator<Item = String>,
functions: &[&'static codegen::Function],