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

awc: Minimize futures dependencies

This commit is contained in:
Yuki Okushi
2020-05-18 11:46:57 +09:00
parent 24372467d9
commit d7abbff3b0
9 changed files with 12 additions and 11 deletions

View File

@@ -156,7 +156,7 @@ impl ClientRequest {
///
/// ```rust
/// fn main() {
/// # actix_rt::System::new("test").block_on(futures::future::lazy(|_| {
/// # actix_rt::System::new("test").block_on(futures_util::future::lazy(|_| {
/// let req = awc::Client::new()
/// .get("http://www.rust-lang.org")
/// .set(awc::http::header::Date::now())