Fix typo in requests.md

This commit is contained in:
alexey zabelin 2017-05-03 17:38:08 -04:00
parent 30fac32978
commit 03e91ffe0b
No known key found for this signature in database
GPG Key ID: 3A169985478324E9
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ Fields of forms can be easily validated via implementations of the
`FromFormValue` trait. For example, if you'd like to verify that some user is
over some age in a form, then you might define a new `AdultAge` type, use it as
a field in a form structure, and implement `FromFormValue` so that it only
validates integers over that age. If a form is a submitted with a bad age,
validates integers over that age. If a form is submitted with a bad age,
Rocket won't call a handler requiring a valid form for that structure. You can
use `Option` or `Result` types for fields to catch parse failures.