#[allow(dead_code)] fn needs_sync() {} #[test] fn event_loop_proxy_send() { #[allow(dead_code)] fn is_send() { // ensures that `rio_winit_fork::EventLoopProxy` implements `Sync` needs_sync::>(); } } #[test] fn window_sync() { // ensures that `rio_winit_fork::Window` implements `Sync` needs_sync::(); } #[test] fn window_builder_sync() { needs_sync::(); } #[test] fn custom_cursor_sync() { needs_sync::(); needs_sync::(); }