mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-07 13:54:24 +01:00
Fix typo in timeout error display (#1552)
This commit is contained in:
parent
5e5c8b1c83
commit
621ebec01a
@ -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…
x
Reference in New Issue
Block a user