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;
|
/// #[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;
|
||||||
|
|
Loading…
Reference in New Issue