Removed auto-generated doc comment as existing doc comment should be fine

This commit is contained in:
LucaCappelletti94 2025-05-24 16:07:29 +02:00
parent 37c9844e39
commit 1f2325e6da
1 changed files with 0 additions and 4 deletions

View File

@ -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;