diff --git a/tokio-util/src/sync/cancellation_token.rs b/tokio-util/src/sync/cancellation_token.rs index 9a8b40255b6..62d9bd05e7b 100644 --- a/tokio-util/src/sync/cancellation_token.rs +++ b/tokio-util/src/sync/cancellation_token.rs @@ -296,7 +296,7 @@ impl CancellationToken { // ===== impl RunUntilCancelledFuture ===== -impl Future for RunUntilCancelledFuture +impl Future for RunUntilCancelledFuture where C: Future, F: Future,