Remove nightly clippy lint that is not yet available in stable.
This commit is contained in:
parent
c9d09796ab
commit
5197c2b2d6
|
@ -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)
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue