mirror of
https://github.com/actix/actix-web.git
synced 2025-01-04 22:38:44 +00:00
fix doc test
This commit is contained in:
parent
de869ed879
commit
80285f2a32
1 changed files with 1 additions and 1 deletions
|
@ -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_fut(
|
/// conn.call(
|
||||||
/// 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| {
|
||||||
|
|
Loading…
Reference in a new issue