mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
10 lines
175 B
Rust
10 lines
175 B
Rust
extern crate winit;
|
|
|
|
fn needs_sync<T:Sync>() {}
|
|
|
|
#[test]
|
|
fn window_sync() {
|
|
// ensures that `winit::Window` implements `Sync`
|
|
needs_sync::<winit::window::Window>();
|
|
}
|