Hide generated macro docs.

This commit is contained in:
Sergio Benitez 2020-02-04 18:42:29 -08:00
parent 0c56ecc181
commit fe4ac8e74d

View File

@ -329,6 +329,7 @@ fn generate_internal_uri_macro(route: &Route) -> TokenStream2 {
let route_uri = route.attribute.path.origin.0.to_string(); let route_uri = route.attribute.path.origin.0.to_string();
quote! { quote! {
#[doc(hidden)]
pub macro #generated_macro_name($($token:tt)*) {{ pub macro #generated_macro_name($($token:tt)*) {{
extern crate std; extern crate std;
extern crate rocket; extern crate rocket;