Skip to content

Commit 83be6a4

Browse files
committed
fix: no Debug on LoadError
1 parent e5a6338 commit 83be6a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/wallet/src/wallet

crates/wallet/src/wallet/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ impl fmt::Display for LoadError {
194194
LoadError::MissingNetwork => write!(f, "loaded data is missing network type"),
195195
LoadError::MissingGenesis => write!(f, "loaded data is missing genesis hash"),
196196
LoadError::MissingDescriptor(k) => {
197-
write!(f, "loaded data is missing descriptor for keychain {k:?}")
197+
write!(f, "loaded data is missing descriptor for {k} keychain")
198198
}
199-
LoadError::Mismatch(mismatch) => write!(f, "data mismatch: {mismatch:?}"),
199+
LoadError::Mismatch(mismatch) => write!(f, "data mismatch: {mismatch}"),
200200
}
201201
}
202202
}

0 commit comments

Comments
 (0)