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

cleanup api doc examples

This commit is contained in:
Nikolay Kim
2019-11-21 15:56:49 +06:00
parent 53c5151692
commit 1f0577f8d5
10 changed files with 4 additions and 21 deletions

View File

@ -52,7 +52,6 @@ use self::connect::{Connect, ConnectorWrapper};
/// An HTTP Client
///
/// ```rust
/// # use futures::future::{Future, lazy};
/// use actix_rt::System;
/// use awc::Client;
///

View File

@ -37,7 +37,6 @@ const HTTPS_ENCODING: &str = "gzip, deflate";
/// builder-like pattern.
///
/// ```rust
/// use futures::future::{Future, lazy};
/// use actix_rt::System;
///
/// fn main() {
@ -310,7 +309,6 @@ impl ClientRequest {
///
/// ```rust
/// # use actix_rt::System;
/// # use futures::future::{lazy, Future};
/// fn main() {
/// System::new("test").block_on(async {
/// awc::Client::new().get("https://www.rust-lang.org")