Hide generated macro docs.

This commit is contained in:
Sergio Benitez 2020-02-04 18:42:29 -08:00
parent 0c56ecc181
commit fe4ac8e74d
1 changed files with 1 additions and 0 deletions

View File

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