Fix broken link in 'json!' docs.

This commit is contained in:
Sergio Benitez 2020-07-23 19:59:39 -07:00
parent 754b1e0e31
commit 0ff4b0d5ad
1 changed files with 3 additions and 2 deletions

View File

@ -305,8 +305,9 @@ impl<'r> Responder<'r, 'static> for JsonValue {
/// #[macro_use] extern crate rocket_contrib; /// #[macro_use] extern crate rocket_contrib;
/// ``` /// ```
/// ///
/// The return type of a `json!` invocation is [`JsonValue`](json::JsonValue). A /// The return type of a `json!` invocation is
/// value created with this macro can be returned from a handler as follows: /// [`JsonValue`](crate::json::JsonValue). A value created with this macro can
/// be returned from a handler as follows:
/// ///
/// ```rust /// ```rust
/// # #[macro_use] extern crate rocket; /// # #[macro_use] extern crate rocket;