mirror of https://github.com/rwf2/Rocket.git
Fix fallout from latest cargo nightly.
This commit is contained in:
parent
46f753e128
commit
3c8dd0fad8
|
@ -18,6 +18,7 @@ use request::FormItems;
|
||||||
/// description: String,
|
/// description: String,
|
||||||
/// completed: bool
|
/// completed: bool
|
||||||
/// }
|
/// }
|
||||||
|
/// # fn main() { }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// The type can then be parsed from incoming form data via the `data`
|
/// The type can then be parsed from incoming form data via the `data`
|
||||||
|
|
|
@ -76,6 +76,7 @@ use outcome::Outcome::*;
|
||||||
/// struct UserInput<'f> {
|
/// struct UserInput<'f> {
|
||||||
/// value: &'f str
|
/// value: &'f str
|
||||||
/// }
|
/// }
|
||||||
|
/// # fn main() { }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// This corresponds to a form with a single field named `value` that should be
|
/// This corresponds to a form with a single field named `value` that should be
|
||||||
|
@ -115,6 +116,7 @@ use outcome::Outcome::*;
|
||||||
/// struct OwnedUserInput {
|
/// struct OwnedUserInput {
|
||||||
/// value: String
|
/// value: String
|
||||||
/// }
|
/// }
|
||||||
|
/// # fn main() { }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// The handler is written similarly:
|
/// The handler is written similarly:
|
||||||
|
|
Loading…
Reference in New Issue