diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-25 19:49:44 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-25 19:49:44 -0700 |
commit | 3f6deb8e2ffa22403aca9fcf6b50bdccc75dc3cf (patch) | |
tree | dc8ea717e13921d6f66e2389b4b12bcb5e339e6a /src/util.rs | |
parent | 6a5ac20defa558309a674e069f33febde1824c00 (diff) | |
download | alacritty-3f6deb8e2ffa22403aca9fcf6b50bdccc75dc3cf.tar.gz alacritty-3f6deb8e2ffa22403aca9fcf6b50bdccc75dc3cf.zip |
Refactor EventLoop into event_loop module
This type and its implementations were seriously cluttering main.rs.
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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::*; } + |