Merge rust-bitcoin/rust-bitcoin#2151: Do trivial docs fixes

d6298fe711 Use capital B for Bitcoin in rustdoc (Tobin C. Harding)
bcfabc3556 Fix typo, missing word (Tobin C. Harding)

Pull request description:

  In an effort to make review merge quicker push these two changes up as a separate PR.

  Totally trivial.

ACKs for top commit:
  Kixunil:
    ACK d6298fe711
  apoelstra:
    ACK d6298fe711

Tree-SHA512: 34635ecd87c918f106694a81f50e69dda233000ac616557744466eb58422a2742f35cadbb059f0f81449efd2f61a37ceb71840bf216009914ba2162834e13fc6
This commit is contained in:
Andrew Poelstra 2023-10-31 14:29:04 +00:00
commit df28e2f679
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
//! ECDSA Bitcoin signatures.
//!
//! This module provides ECDSA signatures used Bitcoin that can be roundtrip (de)serialized.
//! This module provides ECDSA signatures used by Bitcoin that can be roundtrip (de)serialized.
use core::str::FromStr;
use core::{fmt, iter};
@ -29,7 +29,7 @@ pub struct Signature {
}
impl Signature {
/// Constructs an ECDSA bitcoin signature for [`EcdsaSighashType::All`].
/// Constructs an ECDSA Bitcoin signature for [`EcdsaSighashType::All`].
pub fn sighash_all(sig: secp256k1::ecdsa::Signature) -> Signature {
Signature { sig, hash_ty: EcdsaSighashType::All }
}