mirror of https://github.com/fafhrd91/actix-web
Update src/extract.rs
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
This commit is contained in:
parent
8925cd640b
commit
9dada8e37f
|
@ -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:
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue