Skip to content

Commit c0e8d15

Browse files
committed
style: Make clippy happen
1 parent 9eb4f71 commit c0e8d15

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/libtest2-harness/src/harness.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ fn run(
245245
};
246246
let mode = match (opts.run_tests, opts.bench_benchmarks) {
247247
(true, true) => {
248-
return Err(std::io::Error::new(
249-
std::io::ErrorKind::Other,
248+
return Err(std::io::Error::other(
250249
"`--test` and `-bench` are mutually exclusive",
251250
));
252251
}

0 commit comments

Comments
 (0)