diff --git a/codegen/src/decorators/route.rs b/codegen/src/decorators/route.rs index 6b7ac7d6..b060f300 100644 --- a/codegen/src/decorators/route.rs +++ b/codegen/src/decorators/route.rs @@ -269,6 +269,7 @@ fn generic_route_decorator(known_method: Option>, let struct_name = user_fn_name.prepend(ROUTE_STRUCT_PREFIX); let (path, method, media_type, rank) = route.explode(ecx); let static_route_info_item = quote_item!(ecx, + /// Rocket code generated static route information structure. #[allow(non_upper_case_globals)] pub static $struct_name: ::rocket::StaticRouteInfo = ::rocket::StaticRouteInfo {