mirror of https://github.com/fafhrd91/actix-web
Update src/extract.rs
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
parent
4e59376d62
commit
4fe14c2e7c
|
@ -13,7 +13,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 be extracted
|
/// 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, for example [`Json`], [`Form`], [`Path`] and so on.
|
||||||
///
|
///
|
||||||
/// 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