Skip to content

Commit 9cb8a1f

Browse files
committed
remove lint exception
1 parent 9017de4 commit 9cb8a1f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

actix-macros/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ type AttributeArgs = syn::punctuated::Punctuated<syn::Meta, syn::Token![,]>;
2828
/// println!("Hello world");
2929
/// }
3030
/// ```
31-
#[allow(clippy::needless_doctest_main)]
32-
#[cfg(not(test))] // Work around for rust-lang/rust#62127
3331
#[proc_macro_attribute]
3432
pub fn main(args: TokenStream, item: TokenStream) -> TokenStream {
3533
let mut input = match syn::parse::<syn::ItemFn>(item.clone()) {

0 commit comments

Comments
 (0)