1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01:00

fix doc test

This commit is contained in:
Nikolay Kim 2018-02-13 07:50:49 -08:00
parent 96b87761d1
commit 8f9ec5c23c

View File

@ -139,7 +139,7 @@ impl ClientConnector {
/// let conn: Address<_> = ClientConnector::with_connector(ssl_conn).start(); /// let conn: Address<_> = ClientConnector::with_connector(ssl_conn).start();
/// ///
/// Arbiter::handle().spawn({ /// Arbiter::handle().spawn({
/// conn.call( /// conn.send(
/// Connect::new("https://www.rust-lang.org").unwrap()) // <- connect to host /// Connect::new("https://www.rust-lang.org").unwrap()) // <- connect to host
/// .map_err(|_| ()) /// .map_err(|_| ())
/// .and_then(|res| { /// .and_then(|res| {