diff options
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 5 |
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::*; |