summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-16 22:48:04 -0800
commitbde4dacc791501440515c1a51ad2fcb0256cf04c (patch)
tree66bd6762c4ae11705d1a82ed72112a408e5ec2d5 /src/util.rs
parent781572096ea67516a98872b1b3c5b1ffaea9bae0 (diff)
downloadalacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.tar.gz
alacritty-bde4dacc791501440515c1a51ad2fcb0256cf04c.zip
Misc formatting fixes
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index eddb2a5a..0607ff61 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -21,7 +21,10 @@ pub mod thread {
T: Send + 'static,
S: Into<String>
{
- ::std::thread::Builder::new().name(name.into()).spawn(f).expect("thread spawn works")
+ ::std::thread::Builder::new()
+ .name(name.into())
+ .spawn(f)
+ .expect("thread spawn works")
}
pub use ::std::thread::*;