1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-18 22:01:50 +01:00

Merge pull request #1368 from mattgathu/add-missing-docs-attr-to-codegen-structs

Add`#[allow(missing_docs)]` attribute to generated structs
This commit is contained in:
Yuki Okushi 2020-02-23 06:26:42 +09:00 committed by GitHub
commit bdccccd536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {