revert the damn fmt changes
This commit is contained in:
parent
a3ce88b4d7
commit
625011081b
@ -43,7 +43,7 @@ fn arg_value<'a, T: Deref<Target = str>>(
|
||||
|
||||
match arg.next().or_else(|| args.next()) {
|
||||
Some(v) if pred(v) => return Some(v),
|
||||
_ => {}
|
||||
_ => {},
|
||||
}
|
||||
}
|
||||
None
|
||||
|
@ -145,11 +145,11 @@ fn run_ui_toml(config: &mut compiletest::Config) {
|
||||
|
||||
let res = run_ui_toml_tests(&config, tests);
|
||||
match res {
|
||||
Ok(true) => {}
|
||||
Ok(true) => {},
|
||||
Ok(false) => panic!("Some tests failed"),
|
||||
Err(e) => {
|
||||
println!("I/O failure during tests: {:?}", e);
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ fn explore_directory(dir: &Path) -> Vec<String> {
|
||||
if file_stem != current_file {
|
||||
missing_files.push(path.to_str().unwrap().to_string());
|
||||
}
|
||||
}
|
||||
},
|
||||
_ => continue,
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user