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

prepare beta 2 release set (#1975)

This commit is contained in:
Rob Ede
2021-02-10 12:10:03 +00:00
committed by GitHub
parent dcad9724bc
commit a290e58982
38 changed files with 191 additions and 234 deletions

View File

@@ -197,7 +197,7 @@ where
/// `Json` extractor configuration.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{error, post, web, App, FromRequest, HttpResponse};
/// use serde::Deserialize;

View File

@@ -13,7 +13,7 @@ use crate::{dev::Payload, error::PathError, FromRequest, HttpRequest};
///
/// Use [`PathConfig`] to configure extraction process.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{get, web};
///

View File

@@ -23,7 +23,7 @@ use crate::{dev, http::header, web, Error, FromRequest, HttpMessage, HttpRequest
///
/// See [`PayloadConfig`] for important notes when using this advanced extractor.
///
/// # Usage
/// # Examples
/// ```
/// use std::future::Future;
/// use futures_util::stream::{Stream, StreamExt};
@@ -81,7 +81,7 @@ impl FromRequest for Payload {
///
/// Use [`PayloadConfig`] to configure extraction process.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{post, web};
///
@@ -118,7 +118,7 @@ impl FromRequest for Bytes {
/// [**PayloadConfig**](PayloadConfig) allows to configure
/// extraction process.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{post, web, FromRequest};
///

View File

@@ -18,7 +18,7 @@ use crate::{dev::Payload, error::QueryPayloadError, Error, FromRequest, HttpRequ
/// A query string consists of unordered `key=value` pairs, therefore it cannot be decoded into any
/// type which depends upon data ordering (eg. tuples). Trying to do so will result in a panic.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{get, web};
/// use serde::Deserialize;
@@ -138,7 +138,7 @@ where
/// Query extractor configuration.
///
/// # Usage
/// # Examples
/// ```
/// use actix_web::{error, get, web, App, FromRequest, HttpResponse};
/// use serde::Deserialize;