We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877c66b commit 588a46aCopy full SHA for 588a46a
1 file changed
bin/ev-deployer/src/config.rs
@@ -2,8 +2,7 @@
2
3
use alloy_primitives::Address;
4
use serde::Deserialize;
5
-use std::collections::HashSet;
6
-use std::path::Path;
+use std::{collections::HashSet, path::Path};
7
8
/// Top-level deploy configuration.
9
#[derive(Debug, Deserialize)]
@@ -89,10 +88,7 @@ impl DeployConfig {
89
88
// Detect duplicate deploy addresses across all contracts.
90
let mut seen = HashSet::new();
91
for addr in self.contracts.all_addresses() {
92
- eyre::ensure!(
93
- seen.insert(addr),
94
- "duplicate deploy address: {addr}"
95
- );
+ eyre::ensure!(seen.insert(addr), "duplicate deploy address: {addr}");
96
}
97
98
Ok(())
0 commit comments