style: cargo fmt — fix formatting drift blocking the release gate
Whitespace-only reflow in storage.rs/seed.rs/update.rs (rustfmt line- wrapping rules) and app_ports.rs (array literal reflow after the port list grew). No logic change. tests/release/run.sh's cargo-fmt --check stage was failing on this before v1.7.119-alpha could be cut. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
09ab5f6b11
commit
37d293be59
@@ -602,7 +602,11 @@ mod tests {
|
||||
.map(|_| MasterSeed::generate().unwrap().0.to_string())
|
||||
.collect();
|
||||
let unique: std::collections::HashSet<&String> = mnemonics.iter().collect();
|
||||
assert_eq!(unique.len(), mnemonics.len(), "duplicate mnemonics generated");
|
||||
assert_eq!(
|
||||
unique.len(),
|
||||
mnemonics.len(),
|
||||
"duplicate mnemonics generated"
|
||||
);
|
||||
|
||||
// 64 × 24 = 1536 draws from the 2048-word list should hit ~1080
|
||||
// distinct words; a low-entropy source concentrates on far fewer.
|
||||
|
||||
Reference in New Issue
Block a user