Update src/extract.rs

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
This commit is contained in:
Arniu Tseng 2021-06-01 22:55:37 +08:00 committed by GitHub
parent 8925cd640b
commit 9dada8e37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ use crate::{dev::Payload, Error, HttpRequest};
/// [`FromRequest`] is one of the most commonly used trait, although some may not realize it. /// [`FromRequest`] is one of the most commonly used trait, although some may not realize it.
/// ///
/// A type that implements [`FromRequest`] is called an **extractor** and can extract data /// A type that implements [`FromRequest`] is called an **extractor** and can extract data
/// from the request, for example [`Json`], [`Form`], [`Path`] and so on. /// from the request. Examples of types that implement this trait are [`Json`], [`Form`], [`Path`].
/// ///
/// An extractor can be customized by injecting the corresponding configuration with: /// An extractor can be customized by injecting the corresponding configuration with:
/// ///