diff --git a/actix-tls/src/accept/mod.rs b/actix-tls/src/accept/mod.rs index f31665ec..ce632159 100644 --- a/actix-tls/src/accept/mod.rs +++ b/actix-tls/src/accept/mod.rs @@ -71,8 +71,8 @@ impl fmt::Display for TlsError { impl Error for TlsError where - TlsErr: 'static + Error, - SvcErr: 'static + Error, + TlsErr: Error + 'static, + SvcErr: Error + 'static, { fn source(&self) -> Option<&(dyn Error + 'static)> { match self {