Skip to content

Commit

Permalink
Address use of debug_non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
mcroad committed Apr 17, 2022
1 parent 85c4d48 commit 3c7dae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ Cargo.lock
#fuzz
fuzz/hfuzz_target
fuzz/hfuzz_workspace
dep_test
3 changes: 2 additions & 1 deletion src/util/bip32.rs
Expand Up @@ -74,7 +74,8 @@ impl fmt::Debug for ExtendedPrivKey {
.field("parent_fingerprint", &self.parent_fingerprint)
.field("child_number", &self.child_number)
.field("chain_code", &self.chain_code)
.finish_non_exhaustive()
.field("private_key", &"[SecretKey]")
.finish()
}
}

Expand Down

0 comments on commit 3c7dae7

Please sign in to comment.