1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 01:31:57 +02:00

Intradoc links conversion (#1827)

* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
This commit is contained in:
Aravinth Manivannan
2020-12-13 18:58:39 +05:30
committed by GitHub
parent 542db82282
commit fabc68659b
18 changed files with 35 additions and 42 deletions

View File

@@ -35,7 +35,7 @@ use crate::{responder::Responder, web};
/// To extract typed information from request's body, the type `T` must
/// implement the `Deserialize` trait from *serde*.
///
/// [**FormConfig**](struct.FormConfig.html) allows to configure extraction
/// [**FormConfig**](FormConfig) allows to configure extraction
/// process.
///
/// ### Example

View File

@@ -31,7 +31,7 @@ use crate::{responder::Responder, web};
/// To extract typed information from request's body, the type `T` must
/// implement the `Deserialize` trait from *serde*.
///
/// [**JsonConfig**](struct.JsonConfig.html) allows to configure extraction
/// [**JsonConfig**](JsonConfig) allows to configure extraction
/// process.
///
/// ## Example
@@ -142,7 +142,7 @@ impl<T: Serialize> Responder for Json<T> {
/// To extract typed information from request's body, the type `T` must
/// implement the `Deserialize` trait from *serde*.
///
/// [**JsonConfig**](struct.JsonConfig.html) allows to configure extraction
/// [**JsonConfig**](JsonConfig) allows to configure extraction
/// process.
///
/// ## Example
@@ -306,7 +306,7 @@ impl Default for JsonConfig {
/// Returns error:
///
/// * content type is not `application/json`
/// (unless specified in [`JsonConfig`](struct.JsonConfig.html))
/// (unless specified in [`JsonConfig`])
/// * content length is greater than 256k
pub struct JsonBody<U> {
limit: usize,

View File

@@ -15,7 +15,7 @@ use crate::FromRequest;
#[derive(PartialEq, Eq, PartialOrd, Ord)]
/// Extract typed information from the request's path.
///
/// [**PathConfig**](struct.PathConfig.html) allows to configure extraction process.
/// [**PathConfig**](PathConfig) allows to configure extraction process.
///
/// ## Example
///

View File

@@ -111,7 +111,7 @@ impl FromRequest for Payload {
///
/// Loads request's payload and construct Bytes instance.
///
/// [**PayloadConfig**](struct.PayloadConfig.html) allows to configure
/// [**PayloadConfig**](PayloadConfig) allows to configure
/// extraction process.
///
/// ## Example
@@ -159,7 +159,7 @@ impl FromRequest for Bytes {
///
/// Text extractor automatically decode body according to the request's charset.
///
/// [**PayloadConfig**](struct.PayloadConfig.html) allows to configure
/// [**PayloadConfig**](PayloadConfig) allows to configure
/// extraction process.
///
/// ## Example

View File

@@ -18,7 +18,7 @@ use crate::request::HttpRequest;
/// be decoded into any type which depends upon data ordering e.g. tuples or tuple-structs.
/// Attempts to do so will *fail at runtime*.
///
/// [**QueryConfig**](struct.QueryConfig.html) allows to configure extraction process.
/// [**QueryConfig**](QueryConfig) allows to configure extraction process.
///
/// ## Example
///