Fix the test and the examples
This commit is contained in:
parent
6d7e3e73d1
commit
007ad0f911
6 changed files with 30 additions and 73 deletions
|
|
@ -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>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue