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 be1a4ee commit 0a1b5e4Copy full SHA for 0a1b5e4
src/descriptor/key.rs
@@ -73,12 +73,12 @@ pub enum SinglePubKey {
73
impl fmt::Display for DescriptorSecretKey {
74
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
75
match self {
76
- &DescriptorSecretKey::Single(ref sk) => {
+ DescriptorSecretKey::Single(ref sk) => {
77
maybe_fmt_master_id(f, &sk.origin)?;
78
sk.key.fmt(f)?;
79
Ok(())
80
}
81
- &DescriptorSecretKey::XPrv(ref xprv) => {
+ DescriptorSecretKey::XPrv(ref xprv) => {
82
maybe_fmt_master_id(f, &xprv.origin)?;
83
xprv.xkey.fmt(f)?;
84
fmt_derivation_path(f, &xprv.derivation_path)?;
0 commit comments