1 2 3 4 5 6 7 8 9 10 11 12
fn require_send<T: Send>() {} fn require_sync<T: Sync>() {} #[test] fn hotwatch_send() { require_send::<hotwatch::Hotwatch>(); } #[test] fn hotwatch_sync() { require_sync::<hotwatch::Hotwatch>(); }