Skip to content

Commit

Permalink
Oversight
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
  • Loading branch information
antiguru committed Feb 13, 2025
1 parent da52d8b commit ef253fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions communication/src/initialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ impl Debug for Config {
Config::Thread => write!(f, "Config::Thread()"),
Config::Process(n) => write!(f, "Config::Process({})", n),
Config::ProcessBinary(n) => write!(f, "Config::ProcessBinary({})", n),
Config::Cluster { threads, process, addresses, report, .. } => f
Config::Cluster { threads, process, addresses, report, zerocopy, log_fn: _ } => f
.debug_struct("Config::Cluster")
.field("threads", threads)
.field("process", process)
.field("addresses", addresses)
.field("report", report)
// TODO: Use `.finish_non_exhaustive()` after rust/#67364 lands
.finish()
.field("zerocopy", zerocopy)
.finish_non_exhaustive()
}
}
}
Expand Down Expand Up @@ -115,7 +115,7 @@ impl Config {
}
}

assert!(processes == addresses.len());
assert_eq!(processes, addresses.len());
Ok(Config::Cluster {
threads,
process,
Expand Down

0 comments on commit ef253fe

Please sign in to comment.