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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user