mirror of https://github.com/rwf2/Rocket.git
Properly escape ticks for markdown in Form docs.
This commit is contained in:
parent
2da43e24f7
commit
e70fcd78b9
|
@ -93,9 +93,9 @@ use request::{Request, FromData, Data, DataOutcome};
|
|||
/// # fn main() { }
|
||||
/// ```
|
||||
///
|
||||
/// Note that the ``r` lifetime is used _twice_ in the handler's signature: this
|
||||
/// is necessary to tie the lifetime of the structure to the lifetime of the
|
||||
/// request data.
|
||||
/// Note that the `` `r`` lifetime is used _twice_ in the handler's signature:
|
||||
/// this is necessary to tie the lifetime of the structure to the lifetime of
|
||||
/// the request data.
|
||||
///
|
||||
/// ## Without References
|
||||
///
|
||||
|
@ -131,8 +131,8 @@ use request::{Request, FromData, Data, DataOutcome};
|
|||
/// ```
|
||||
///
|
||||
/// Note that no lifetime annotations are required: Rust is able to infer the
|
||||
/// lifetime as ``static`. Because the lifetime is ``static`, the `into_inner`
|
||||
/// method can be used to directly retrieve the parsed value.
|
||||
/// lifetime as `` `static``. Because the lifetime is `` `static``, the
|
||||
/// `into_inner` method can be used to directly retrieve the parsed value.
|
||||
///
|
||||
/// ## Performance and Correctness Considerations
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue