mirror of https://github.com/rwf2/Rocket.git
Hide docs for more generated items.
This commit is contained in:
parent
b38753eaf8
commit
91fb0804be
|
@ -83,6 +83,7 @@ pub fn _catch(args: TokenStream, input: TokenStream) -> Result<TokenStream> {
|
|||
#user_catcher_fn
|
||||
|
||||
/// Rocket code generated wrapping catch function.
|
||||
#[doc(hidden)]
|
||||
#vis fn #generated_fn_name<'_b>(#req: &'_b #Request) -> #response::Result<'_b> {
|
||||
let __response = #catcher_response;
|
||||
#Response::build()
|
||||
|
@ -92,6 +93,7 @@ pub fn _catch(args: TokenStream, input: TokenStream) -> Result<TokenStream> {
|
|||
}
|
||||
|
||||
/// Rocket code generated static catcher info.
|
||||
#[doc(hidden)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
#vis static #generated_struct_name: ::rocket::StaticCatchInfo =
|
||||
::rocket::StaticCatchInfo {
|
||||
|
|
|
@ -420,6 +420,7 @@ fn codegen_route(route: Route) -> Result<TokenStream> {
|
|||
#user_handler_fn
|
||||
|
||||
/// Rocket code generated wrapping route function.
|
||||
#[doc(hidden)]
|
||||
#vis fn #generated_fn_name<'_b>(
|
||||
#req: &'_b #Request,
|
||||
#data: #Data
|
||||
|
@ -435,6 +436,7 @@ fn codegen_route(route: Route) -> Result<TokenStream> {
|
|||
#generated_internal_uri_macro
|
||||
|
||||
/// Rocket code generated static route info.
|
||||
#[doc(hidden)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
#vis static #generated_struct_name: #StaticRouteInfo =
|
||||
#StaticRouteInfo {
|
||||
|
|
Loading…
Reference in New Issue