mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-07 01:02:04 +00:00
Hide generated macro docs.
This commit is contained in:
parent
0c56ecc181
commit
fe4ac8e74d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user