mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 16:02:59 +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 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(
|
||||||
|
Loading…
Reference in New Issue
Block a user