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)]