Skip to content

Commit d495945

Browse files
committed
Improve docs on is_uncompressed
Do minor improvement to the docs for the `bitocin::PublicKey` implementation of `is_uncompressed`.
1 parent 47fc2c6 commit d495945

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ impl MiniscriptKey for bitcoin::secp256k1::PublicKey {
166166
}
167167

168168
impl MiniscriptKey for bitcoin::PublicKey {
169-
/// `is_uncompressed` returns true only for
170-
/// bitcoin::Publickey type if the underlying key is uncompressed.
169+
/// Returns the compressed-ness of the underlying secp256k1 key.
171170
fn is_uncompressed(&self) -> bool {
172171
!self.compressed
173172
}

0 commit comments

Comments
 (0)