impl Eq for dyn Signer (#32272)

This commit is contained in:
hana 2023-06-29 08:43:56 -07:00 committed by GitHub
parent d62f5ba37b
commit 755adfd0a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ impl PartialEq for dyn Signer {
}
}
impl Eq for dyn Signer {}
impl std::fmt::Debug for dyn Signer {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(fmt, "Signer: {:?}", self.pubkey())