From 1ef836abb9cfc41dffe07189b221b57472707e05 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 17 Feb 2021 11:57:51 +1000 Subject: [PATCH] Add a missing Sync bound --- tower-batch/src/semaphore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }