From 0ff4b0d5ad5ce6d3c572adf49898dcee8d82975e Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 23 Jul 2020 19:59:39 -0700 Subject: [PATCH] Fix broken link in 'json!' docs. --- contrib/lib/src/json.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/lib/src/json.rs b/contrib/lib/src/json.rs index e899c3eb..32640e7f 100644 --- a/contrib/lib/src/json.rs +++ b/contrib/lib/src/json.rs @@ -305,8 +305,9 @@ impl<'r> Responder<'r, 'static> for JsonValue { /// #[macro_use] extern crate rocket_contrib; /// ``` /// -/// The return type of a `json!` invocation is [`JsonValue`](json::JsonValue). A -/// value created with this macro can be returned from a handler as follows: +/// The return type of a `json!` invocation is +/// [`JsonValue`](crate::json::JsonValue). A value created with this macro can +/// be returned from a handler as follows: /// /// ```rust /// # #[macro_use] extern crate rocket;