Replace 'macro_reexport' with 'pub use'.

This commit is contained in:
Marshall Bowers 2018-05-02 23:54:28 -04:00 committed by Sergio Benitez
parent 4e0b170456
commit 47df409be2
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#![feature(macro_reexport)]
#![feature(use_extern_macros)]
// TODO: Version URLs.
#![doc(html_root_url = "https://api.rocket.rs")]
@ -44,9 +44,11 @@
extern crate serde;
#[cfg(feature = "json")]
#[cfg_attr(feature = "json", macro_reexport(json_internal))]
extern crate serde_json;
#[cfg(feature = "json")]
pub use serde_json::json_internal;
#[cfg(feature = "json")]
#[cfg_attr(feature = "json", macro_use)]
#[doc(hidden)]