mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 21:38:46 +00:00
Add missing_docs attribute to generated structs
This commit is contained in:
parent
245f96868a
commit
060c392c67
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ impl Route {
|
||||||
let extra_guards = &self.args.guards;
|
let extra_guards = &self.args.guards;
|
||||||
let resource_type = &self.resource_type;
|
let resource_type = &self.resource_type;
|
||||||
let stream = quote! {
|
let stream = quote! {
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types, missing_docs)]
|
||||||
pub struct #name;
|
pub struct #name;
|
||||||
|
|
||||||
impl actix_web::dev::HttpServiceFactory for #name {
|
impl actix_web::dev::HttpServiceFactory for #name {
|
||||||
|
|
Loading…
Reference in a new issue