From 1f2325e6dabc90967cd9fe5a8bac99fb7e395705 Mon Sep 17 00:00:00 2001 From: LucaCappelletti94 Date: Sat, 24 May 2025 16:07:29 +0200 Subject: [PATCH] Removed auto-generated doc comment as existing doc comment should be fine --- actix-web-codegen/src/route.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/actix-web-codegen/src/route.rs b/actix-web-codegen/src/route.rs index a03cf9e9f..cd1ad4c66 100644 --- a/actix-web-codegen/src/route.rs +++ b/actix-web-codegen/src/route.rs @@ -465,12 +465,8 @@ impl ToTokens for Route { }) .collect(); - let documentation = - format!("Struct generated by the routing macro for the handler function `{name}`.",); - let stream = quote! { #(#doc_attributes)* - #[doc = #documentation] #[allow(non_camel_case_types)] #vis struct #name;