From c2eff62efb71d2f2cd23eb502201dc73eda9af8b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 8 Sep 2018 12:52:43 -0700 Subject: [PATCH] openssl new service is not failable --- src/ssl/openssl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl/openssl.rs b/src/ssl/openssl.rs index 2a0d80a7..f611e40e 100644 --- a/src/ssl/openssl.rs +++ b/src/ssl/openssl.rs @@ -43,7 +43,7 @@ impl NewService for OpensslAcceptor { type Response = SslStream; type Error = Error; type Service = OpensslAcceptorService; - type InitError = io::Error; + type InitError = (); type Future = FutureResult; fn new_service(&self) -> Self::Future {