diff --git a/tower-batch/src/semaphore.rs b/tower-batch/src/semaphore.rs index c9f0adad..220fcc72 100644 --- a/tower-batch/src/semaphore.rs +++ b/tower-batch/src/semaphore.rs @@ -32,7 +32,7 @@ pub(crate) struct Close { } enum State { - Waiting(Pin + Send + 'static>>), + Waiting(Pin + Send + Sync + 'static>>), Ready(Permit), Empty, }