mirror of https://github.com/fafhrd91/actix-web
Removed auto-generated doc comment as existing doc comment should be fine
This commit is contained in:
parent
37c9844e39
commit
1f2325e6da
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue