'new_without_default' clippy warnings
This commit is contained in:
@@ -39,6 +39,12 @@ impl KeyPair {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for KeyPair {
|
||||
fn default() -> Self {
|
||||
KeyPair::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl PemStorableKeyPair for KeyPair {
|
||||
type PrivatePemKey = PrivateKey;
|
||||
type PublicPemKey = PublicKey;
|
||||
|
||||
@@ -36,6 +36,12 @@ impl MixIdentityKeyPair {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for MixIdentityKeyPair {
|
||||
fn default() -> Self {
|
||||
MixIdentityKeyPair::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl PemStorableKeyPair for MixIdentityKeyPair {
|
||||
type PrivatePemKey = MixIdentityPrivateKey;
|
||||
type PublicPemKey = MixIdentityPublicKey;
|
||||
|
||||
Reference in New Issue
Block a user