From 060c392c676c55accfc569ea8c05e570efe6df8e Mon Sep 17 00:00:00 2001
From: Matt Gathu <mattgathu@gmail.com>
Date: Sat, 22 Feb 2020 10:32:12 +0100
Subject: [PATCH] Add missing_docs attribute to generated structs

---
 actix-web-codegen/src/route.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actix-web-codegen/src/route.rs b/actix-web-codegen/src/route.rs
index d4819848..60b82959 100644
--- a/actix-web-codegen/src/route.rs
+++ b/actix-web-codegen/src/route.rs
@@ -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 {