mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
Add test for WindowProxy to implement Send
This commit is contained in:
9
tests/window_proxy_send.rs
Normal file
9
tests/window_proxy_send.rs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
extern crate glutin;
|
||||||
|
|
||||||
|
#[cfg(feature = "window")]
|
||||||
|
#[test]
|
||||||
|
fn window_proxy_send() {
|
||||||
|
// ensures that `glutin::WindowProxy` implements `Send`
|
||||||
|
fn needs_send<T:Send>() {}
|
||||||
|
needs_send::<glutin::WindowProxy>();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user