mirror of https://github.com/rwf2/Rocket.git
Fix broken link in 'json!' docs.
This commit is contained in:
parent
754b1e0e31
commit
0ff4b0d5ad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue