Skip to content

Commit 6250110

Browse files
committed
revert the damn fmt changes
1 parent a3ce88b commit 6250110

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn arg_value<'a, T: Deref<Target = str>>(
4343

4444
match arg.next().or_else(|| args.next()) {
4545
Some(v) if pred(v) => return Some(v),
46-
_ => {}
46+
_ => {},
4747
}
4848
}
4949
None

tests/compile-test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ fn run_ui_toml(config: &mut compiletest::Config) {
145145

146146
let res = run_ui_toml_tests(&config, tests);
147147
match res {
148-
Ok(true) => {}
148+
Ok(true) => {},
149149
Ok(false) => panic!("Some tests failed"),
150150
Err(e) => {
151151
println!("I/O failure during tests: {:?}", e);
152-
}
152+
},
153153
}
154154
}
155155

tests/missing-test-files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn explore_directory(dir: &Path) -> Vec<String> {
4646
if file_stem != current_file {
4747
missing_files.push(path.to_str().unwrap().to_string());
4848
}
49-
}
49+
},
5050
_ => continue,
5151
};
5252
}

0 commit comments

Comments
 (0)