Upgrade to rustfmt 0.8.3.

This commit is contained in:
Jakob Stoklund Olesen
2017-04-27 12:52:41 -07:00
parent ee5f035e31
commit 43304e9abc
8 changed files with 43 additions and 22 deletions

View File

@@ -26,7 +26,8 @@ pub fn run(path: &Path) -> TestResult {
}
// Parse the test commands.
let mut tests = testfile.commands
let mut tests = testfile
.commands
.iter()
.map(new_subtest)
.collect::<Result<Vec<_>>>()?;
@@ -116,7 +117,8 @@ fn run_one_test<'a>(tuple: (&'a SubTest, &'a Flags, Option<&'a TargetIsa>),
// Should we run the verifier before this test?
if !context.verified && test.needs_verifier() {
verify_function(&func, isa).map_err(|e| pretty_verifier_error(&func, e))?;
verify_function(&func, isa)
.map_err(|e| pretty_verifier_error(&func, e))?;
context.verified = true;
}