mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 19:41:12 +00:00
Fixed example in client documentation. This closes #665.
This commit is contained in:
parent
d6df2e3399
commit
3431fff4d7
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue