mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Fix the test and the examples
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
extern crate glutin;
|
||||
extern crate winit;
|
||||
|
||||
#[cfg(feature = "window")]
|
||||
#[test]
|
||||
fn window_proxy_send() {
|
||||
// ensures that `glutin::WindowProxy` implements `Send`
|
||||
// ensures that `winit::WindowProxy` implements `Send`
|
||||
fn needs_send<T:Send>() {}
|
||||
needs_send::<glutin::WindowProxy>();
|
||||
needs_send::<winit::WindowProxy>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user