Closed jimmykiang closed 1 year ago
Make the syntax of the future field contained the Task a little less verbose by replacing:
Mutex<Pin<Box<dyn Future + Send>>>
with:
Mutex<BoxFuture<'static, ()>>
The functionality remains intact.
Make the syntax of the future field contained the Task a little less verbose by replacing:
Mutex<Pin<Box<dyn Future
with:
Mutex<BoxFuture<'static, ()>>
The functionality remains intact.