1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

don't use rust annotation on code doc blocks

This commit is contained in:
Rob Ede
2021-03-25 08:45:52 +00:00
parent 9704beddf8
commit 3188ef5731
36 changed files with 99 additions and 99 deletions

View File

@ -131,7 +131,7 @@ pub use self::sender::SendClientRequest;
///
/// ## Examples
///
/// ```rust
/// ```
/// use awc::Client;
///
/// #[actix_rt::main]

View File

@ -36,7 +36,7 @@ cfg_if::cfg_if! {
/// This type can be used to construct an instance of `ClientRequest` through a
/// builder-like pattern.
///
/// ```rust
/// ```
/// #[actix_rt::main]
/// async fn main() {
/// let response = awc::Client::new()
@ -190,7 +190,7 @@ impl ClientRequest {
/// Append a header, keeping any that were set with an equivalent field name.
///
/// ```rust
/// ```
/// # #[actix_rt::main]
/// # async fn main() {
/// # use awc::Client;
@ -271,7 +271,7 @@ impl ClientRequest {
/// Set a cookie
///
/// ```rust
/// ```
/// #[actix_rt::main]
/// async fn main() {
/// let resp = awc::Client::new().get("https://www.rust-lang.org")