From 523cee0351a5e1d9a5390789c6d54aaa6585830d Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 3 May 2020 23:14:22 +0100 Subject: [PATCH] correct spelling of ConnectError::Unresolved --- actix-connect/CHANGES.md | 6 ++++++ actix-connect/src/connector.rs | 2 +- actix-connect/src/error.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/actix-connect/CHANGES.md b/actix-connect/CHANGES.md index cd1dc373..647658ae 100644 --- a/actix-connect/CHANGES.md +++ b/actix-connect/CHANGES.md @@ -1,5 +1,11 @@ # Changes +## [Unreleased] + +### Fixed + +* Corrected spelling of `ConnectError::Unresolverd` to `ConnectError::Unresolved` + ## [2.0.0-alpha.2] - 2020-03-08 ### Changed diff --git a/actix-connect/src/connector.rs b/actix-connect/src/connector.rs index d631d684..e9fb1525 100644 --- a/actix-connect/src/connector.rs +++ b/actix-connect/src/connector.rs @@ -88,7 +88,7 @@ impl Service for TcpConnector { Either::Left(TcpConnectorResponse::new(req, port, addr)) } else { error!("TCP connector: got unresolved address"); - Either::Right(err(ConnectError::Unresolverd)) + Either::Right(err(ConnectError::Unresolved)) } } } diff --git a/actix-connect/src/error.rs b/actix-connect/src/error.rs index 30946459..3c56f072 100644 --- a/actix-connect/src/error.rs +++ b/actix-connect/src/error.rs @@ -18,7 +18,7 @@ pub enum ConnectError { /// Unresolved host name #[display(fmt = "Connector received `Connect` method with unresolved host")] - Unresolverd, + Unresolved, /// Connection io error #[display(fmt = "{}", _0)]