1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-10 17:29:36 +00:00

Add missing_docs attribute to generated structs

This commit is contained in:
Matt Gathu 2020-02-22 10:32:12 +01:00
parent 245f96868a
commit 060c392c67
No known key found for this signature in database
GPG key ID: 8792E916A542AB46

View file

@ -191,7 +191,7 @@ impl Route {
let extra_guards = &self.args.guards;
let resource_type = &self.resource_type;
let stream = quote! {
#[allow(non_camel_case_types)]
#[allow(non_camel_case_types, missing_docs)]
pub struct #name;
impl actix_web::dev::HttpServiceFactory for #name {