Add a missing Sync bound

This commit is contained in:
teor 2021-02-17 11:57:51 +10:00 committed by Deirdre Connolly
parent 090afb9d4c
commit 1ef836abb9
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ pub(crate) struct Close {
}
enum State {
Waiting(Pin<Box<dyn Future<Output = Permit> + Send + 'static>>),
Waiting(Pin<Box<dyn Future<Output = Permit> + Send + Sync + 'static>>),
Ready(Permit),
Empty,
}