diff --git a/core/src/upgrade/either.rs b/core/src/upgrade/either.rs index 6eb99bb3..9e6d0742 100644 --- a/core/src/upgrade/either.rs +++ b/core/src/upgrade/either.rs @@ -50,9 +50,7 @@ where impl InboundUpgrade for EitherUpgrade where A: InboundUpgrade, - >::Future: Unpin, B: InboundUpgrade, - >::Future: Unpin, { type Output = EitherOutput; type Error = EitherError; @@ -70,9 +68,7 @@ where impl OutboundUpgrade for EitherUpgrade where A: OutboundUpgrade, - >::Future: Unpin, B: OutboundUpgrade, - >::Future: Unpin, { type Output = EitherOutput; type Error = EitherError; diff --git a/core/src/upgrade/select.rs b/core/src/upgrade/select.rs index a8ee6504..35d82042 100644 --- a/core/src/upgrade/select.rs +++ b/core/src/upgrade/select.rs @@ -76,9 +76,7 @@ where impl OutboundUpgrade for SelectUpgrade where A: OutboundUpgrade, - >::Future: Unpin, B: OutboundUpgrade, - >::Future: Unpin, { type Output = EitherOutput; type Error = EitherError;