diff --git a/pubsub/src/manager.rs b/pubsub/src/manager.rs index b20da7272..1948dde10 100644 --- a/pubsub/src/manager.rs +++ b/pubsub/src/manager.rs @@ -34,7 +34,7 @@ use rand::distributions::Alphanumeric; use rand::{thread_rng, Rng}; /// Cloneable `Spawn` handle. -pub type TaskExecutor = Arc; +pub type TaskExecutor = Arc; type ActiveSubscriptions = Arc>>>; @@ -360,4 +360,11 @@ mod tests { assert!(is_not_cancelled); } + + #[test] + fn is_send_sync() { + fn send_sync() {} + + send_sync::(); + } }