aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multiwindow.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-03 07:52:12 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-03 07:52:12 +0200
commit93f4581c08b1b25852527223a6f3608870532a87 (patch)
tree5323fa00d2ea700dd64dfd2dff36ac169ccac163 /examples/multiwindow.rs
parent6c990ae48866e6110600aadcb3a0d8850deab42b (diff)
parentd33c138164d069f025439f97920771f1f8c7775e (diff)
downloadglutin-93f4581c08b1b25852527223a6f3608870532a87.tar.gz
glutin-93f4581c08b1b25852527223a6f3608870532a87.zip
Merge pull request #348 from tomaka/rustup
Rustup
Diffstat (limited to 'examples/multiwindow.rs')
-rw-r--r--examples/multiwindow.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index a7680b8..9256555 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -6,7 +6,7 @@ extern crate android_glue;
extern crate glutin;
-use std::thread::Thread;
+use std::thread;
mod support;
@@ -22,15 +22,15 @@ fn main() {
let window2 = glutin::Window::new().unwrap();
let window3 = glutin::Window::new().unwrap();
- let t1 = Thread::scoped(move || {
+ let t1 = thread::scoped(move || {
run(window1, (0.0, 1.0, 0.0, 1.0));
});
- let t2 = Thread::scoped(move || {
+ let t2 = thread::scoped(move || {
run(window2, (0.0, 0.0, 1.0, 1.0));
});
- let t3 = Thread::scoped(move || {
+ let t3 = thread::scoped(move || {
run(window3, (1.0, 0.0, 0.0, 1.0));
});