mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
Fixed example in client documentation. This closes #665.
This commit is contained in:
parent
d6df2e3399
commit
3431fff4d7
@ -5,9 +5,9 @@
|
||||
//! # extern crate actix;
|
||||
//! # extern crate futures;
|
||||
//! # extern crate tokio;
|
||||
//! # use futures::Future;
|
||||
//! # use std::process;
|
||||
//! use actix_web::client;
|
||||
//! use futures::Future;
|
||||
//!
|
||||
//! fn main() {
|
||||
//! actix::run(
|
||||
@ -66,9 +66,9 @@ impl ResponseError for SendRequestError {
|
||||
/// # extern crate futures;
|
||||
/// # extern crate tokio;
|
||||
/// # extern crate env_logger;
|
||||
/// # use futures::Future;
|
||||
/// # use std::process;
|
||||
/// use actix_web::client;
|
||||
/// use futures::Future;
|
||||
///
|
||||
/// fn main() {
|
||||
/// actix::run(
|
||||
|
Loading…
Reference in New Issue
Block a user