mirror of https://github.com/rwf2/Rocket.git
Fix typo: 'FromFrom' -> 'FromForm'.
This commit is contained in:
parent
0a0f540988
commit
78e6e55aa2
|
@ -23,7 +23,7 @@ use crate::http::uncased::AsUncased;
|
|||
/// A form guard is a guard that operates on form fields, typically those with a
|
||||
/// particular name prefix. Form guards validate and parse form field data via
|
||||
/// implementations of `FromForm`. In other words, a type is a form guard _iff_
|
||||
/// it implements `FromFrom`.
|
||||
/// it implements `FromForm`.
|
||||
///
|
||||
/// Form guards are used as the inner type of the [`Form`] data guard:
|
||||
///
|
||||
|
|
|
@ -362,7 +362,7 @@ out-of-the-box, and you can implement your own, too. See the following:
|
|||
* Parameter Guards: [`FromParam`]
|
||||
* Multi-Segment Guards: [`FromSegments`]
|
||||
* Data Guards: [`FromData`]
|
||||
* Form Guards: [`FromFrom`]
|
||||
* Form Guards: [`FromForm`]
|
||||
* Request Guards: [`FromRequest`]
|
||||
</div>
|
||||
</details>
|
||||
|
@ -371,7 +371,7 @@ out-of-the-box, and you can implement your own, too. See the following:
|
|||
[`FromParam`]: @api/rocket/request/trait.FromParam.html
|
||||
[`FromSegments`]: @api/rocket/request/trait.FromSegments.html
|
||||
[`FromData`]: @api/rocket/data/trait.FromData.html
|
||||
[`FromFrom`]: @api/rocket/form/trait.FromForm.html
|
||||
[`FromForm`]: @api/rocket/form/trait.FromForm.html
|
||||
[`FromRequest`]: @api/rocket/request/trait.FromRequest.html
|
||||
|
||||
<details id="response-headers">
|
||||
|
|
Loading…
Reference in New Issue