From 3f6deb8e2ffa22403aca9fcf6b50bdccc75dc3cf Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 25 Sep 2016 19:49:44 -0700 Subject: Refactor EventLoop into event_loop module This type and its implementations were seriously cluttering main.rs. --- src/util.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.rs') diff --git a/src/util.rs b/src/util.rs index 693e26a8..69715d8e 100644 --- a/src/util.rs +++ b/src/util.rs @@ -23,4 +23,7 @@ pub mod thread { { ::std::thread::Builder::new().name(name.into()).spawn(f).expect("thread spawn works") } + + pub use ::std::thread::*; } + -- cgit