Fix typo in requests guide.

This commit is contained in:
alexey zabelin 2017-05-03 17:38:08 -04:00 committed by Sergio Benitez
parent 13061e9062
commit f3f2803b0e
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.