Add a missing Sync bound
This commit is contained in:
parent
090afb9d4c
commit
1ef836abb9
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue