mirror of
https://github.com/actix/actix-web.git
synced 2024-11-18 15:41:17 +00:00
Fix typo in timeout error display (#1552)
This commit is contained in:
parent
5e5c8b1c83
commit
621ebec01a
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ pub enum ConnectError {
|
||||||
H2(h2::Error),
|
H2(h2::Error),
|
||||||
|
|
||||||
/// Connecting took too long
|
/// Connecting took too long
|
||||||
#[display(fmt = "Timeout out while establishing connection")]
|
#[display(fmt = "Timeout while establishing connection")]
|
||||||
Timeout,
|
Timeout,
|
||||||
|
|
||||||
/// Connector has been disconnected
|
/// Connector has been disconnected
|
||||||
|
@ -110,7 +110,7 @@ pub enum SendRequestError {
|
||||||
#[display(fmt = "{}", _0)]
|
#[display(fmt = "{}", _0)]
|
||||||
H2(h2::Error),
|
H2(h2::Error),
|
||||||
/// Response took too long
|
/// Response took too long
|
||||||
#[display(fmt = "Timeout out while waiting for response")]
|
#[display(fmt = "Timeout while waiting for response")]
|
||||||
Timeout,
|
Timeout,
|
||||||
/// Tunnels are not supported for http2 connection
|
/// Tunnels are not supported for http2 connection
|
||||||
#[display(fmt = "Tunnels are not supported for http2 connection")]
|
#[display(fmt = "Tunnels are not supported for http2 connection")]
|
||||||
|
|
Loading…
Reference in a new issue