Fix fallout from latest cargo nightly.

This commit is contained in:
Sergio Benitez 2017-02-08 00:55:22 -08:00
parent 46f753e128
commit 3c8dd0fad8
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ use request::FormItems;
/// description: String,
/// completed: bool
/// }
/// # fn main() { }
/// ```
///
/// The type can then be parsed from incoming form data via the `data`

View File

@ -76,6 +76,7 @@ use outcome::Outcome::*;
/// struct UserInput<'f> {
/// value: &'f str
/// }
/// # fn main() { }
/// ```
///
/// This corresponds to a form with a single field named `value` that should be
@ -115,6 +116,7 @@ use outcome::Outcome::*;
/// struct OwnedUserInput {
/// value: String
/// }
/// # fn main() { }
/// ```
///
/// The handler is written similarly: