Fix the test and the examples

This commit is contained in:
Pierre Krieger 2016-03-26 18:07:52 +01:00
parent 6d7e3e73d1
commit 007ad0f911
6 changed files with 30 additions and 73 deletions

View file

@ -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>();
}