mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Merge pull request #278 from tomaka/window-proxy-send
Add test for WindowProxy to implement Send
This commit is contained in:
commit
495898ad98
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>();
|
||||||
|
}
|
Loading…
Reference in a new issue