mirror of https://github.com/fafhrd91/actix-web
Fix docs
This commit is contained in:
parent
9dada8e37f
commit
976cd509fa
|
@ -18,6 +18,7 @@ edition = "2018"
|
|||
[package.metadata.docs.rs]
|
||||
# features that docs.rs will build with
|
||||
features = ["openssl", "rustls", "compress", "cookies", "secure-cookies"]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[lib]
|
||||
name = "actix_web"
|
||||
|
|
|
@ -11,12 +11,10 @@ use futures_core::ready;
|
|||
|
||||
use crate::{dev::Payload, Error, HttpRequest};
|
||||
|
||||
/// [`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
|
||||
/// 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 one of:
|
||||
///
|
||||
/// - [`App::data()`](`crate::App::data`)
|
||||
/// - [`App::app_data()`](`crate::App::app_data`)
|
||||
|
|
Loading…
Reference in New Issue