1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-21 09:23:54 +00:00

Fixed example in client documentation. This closes #665.

This commit is contained in:
rishflab 2019-01-14 14:13:37 +11:00 committed by Douman
parent d6df2e3399
commit 3431fff4d7

View file

@ -5,9 +5,9 @@
//! # extern crate actix; //! # extern crate actix;
//! # extern crate futures; //! # extern crate futures;
//! # extern crate tokio; //! # extern crate tokio;
//! # use futures::Future;
//! # use std::process; //! # use std::process;
//! use actix_web::client; //! use actix_web::client;
//! use futures::Future;
//! //!
//! fn main() { //! fn main() {
//! actix::run( //! actix::run(
@ -66,9 +66,9 @@ impl ResponseError for SendRequestError {
/// # extern crate futures; /// # extern crate futures;
/// # extern crate tokio; /// # extern crate tokio;
/// # extern crate env_logger; /// # extern crate env_logger;
/// # use futures::Future;
/// # use std::process; /// # use std::process;
/// use actix_web::client; /// use actix_web::client;
/// use futures::Future;
/// ///
/// fn main() { /// fn main() {
/// actix::run( /// actix::run(