Skip to content

Commit

Permalink
Pacify new version of rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Mar 2, 2021
1 parent e6c022d commit 62c1709
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions tests/harness/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,14 @@ impl DistSystem {
wait_for(
|| {
let status = self.scheduler_status();
if matches!(self.scheduler_status(), SchedulerStatusResult { num_servers: 0, num_cpus: _, in_progress: 0 })
{
if matches!(
self.scheduler_status(),
SchedulerStatusResult {
num_servers: 0,
num_cpus: _,
in_progress: 0
}
) {
Ok(())
} else {
Err(format!("{:?}", status))
Expand Down Expand Up @@ -430,8 +436,14 @@ impl DistSystem {
wait_for(
|| {
let status = self.scheduler_status();
if matches!(self.scheduler_status(), SchedulerStatusResult { num_servers: 1, num_cpus: _, in_progress: 0 })
{
if matches!(
self.scheduler_status(),
SchedulerStatusResult {
num_servers: 1,
num_cpus: _,
in_progress: 0
}
) {
Ok(())
} else {
Err(format!("{:?}", status))
Expand Down

0 comments on commit 62c1709

Please sign in to comment.