From 9cb8a1fadcc5caf11243609f6da4f0cd57b0094d Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 24 Jul 2023 03:27:44 +0100 Subject: [PATCH] remove lint exception --- actix-macros/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index 481d1145..cd546f0e 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -28,8 +28,6 @@ type AttributeArgs = syn::punctuated::Punctuated; /// println!("Hello world"); /// } /// ``` -#[allow(clippy::needless_doctest_main)] -#[cfg(not(test))] // Work around for rust-lang/rust#62127 #[proc_macro_attribute] pub fn main(args: TokenStream, item: TokenStream) -> TokenStream { let mut input = match syn::parse::(item.clone()) {