1
Fork 0

run rustfmt on test/run-fail folder

This commit is contained in:
Srinivas Reddy Thatiparthy 2016-05-27 08:09:36 +05:30
parent 97e3a2401e
commit 73ef372f63
54 changed files with 278 additions and 107 deletions

View file

@ -13,8 +13,9 @@
use std::thread;
fn main() {
let r: Result<(),_> = thread::spawn(move|| {
panic!("test");
}).join();
let r: Result<(), _> = thread::spawn(move || {
panic!("test");
})
.join();
assert!(r.is_ok());
}