Fix broken links in docs.

This commit is contained in:
Sergio Benitez 2016-12-21 01:33:45 -08:00
parent 80632689f4
commit b9742c1202
2 changed files with 7 additions and 7 deletions

View File

@ -20,8 +20,8 @@ pub type BodyReader<'a, 'b> =
///
/// This type is the only means by which the body of a request can be retrieved.
/// This type is not usually used directly. Instead, types that implement
/// [FromData](trait.FromData.html) are used via code generation by specifying
/// the `data = "<param>"` route parameter as follows:
/// [FromData](/rocket/data/trait.FromData.html) are used via code generation by
/// specifying the `data = "<param>"` route parameter as follows:
///
/// ```rust,ignore
/// #[post("/submit", data = "<var>")]

View File

@ -9,11 +9,11 @@
//! processing next.
//!
//! The `Outcome` type is the return type of many of the core Rocket traits,
//! including [FromRequest](../request/trait.FromRequest.html),
//! [FromData](../request/trait.FromData.html), and
//! [Responder](../response/trait.Responder.html). It is also the return type of
//! request handlers via the [Response](../response/type.Response.html) type
//! alias.
//! including [FromRequest](/rocket/request/trait.FromRequest.html),
//! [FromData](/rocket/data/trait.FromData.html), and
//! [Responder](/rocket/response/trait.Responder.html). It is also the return
//! type of request handlers via the
//! [Response](/rocket/response/struct.Response.html) type.
//!
//! # Success
//!