From 621ebec01adc87bdb31b5c1116773be8413bf53a Mon Sep 17 00:00:00 2001 From: Stephen Stack Date: Tue, 2 Jun 2020 12:04:49 -0500 Subject: [PATCH] Fix typo in timeout error display (#1552) --- actix-http/src/client/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-http/src/client/error.rs b/actix-http/src/client/error.rs index e4653a31a..ba697bca4 100644 --- a/actix-http/src/client/error.rs +++ b/actix-http/src/client/error.rs @@ -39,7 +39,7 @@ pub enum ConnectError { H2(h2::Error), /// Connecting took too long - #[display(fmt = "Timeout out while establishing connection")] + #[display(fmt = "Timeout while establishing connection")] Timeout, /// Connector has been disconnected @@ -110,7 +110,7 @@ pub enum SendRequestError { #[display(fmt = "{}", _0)] H2(h2::Error), /// Response took too long - #[display(fmt = "Timeout out while waiting for response")] + #[display(fmt = "Timeout while waiting for response")] Timeout, /// Tunnels are not supported for http2 connection #[display(fmt = "Tunnels are not supported for http2 connection")]