Skip to content

Commit 3a364ad

Browse files
committed
Merge rust-bitcoin#4968: fix: correct grammar in address documentation comments
fcec039 fix: correct grammar in address documentation comments (Daniel) Pull request description: grammatical errors: remove extra space in "i.e." and add missing article "an" before "uppercase version" ACKs for top commit: apoelstra: ACK fcec039; successfully ran local tests Tree-SHA512: be47737dd0a31594ac517385f9e655ae68a5caed9fcc9015e628207283ee590d4349d0ac82409084c64f2085f5bf5b76362e16b7679ec5e088cfd9f0d3fe7684
2 parents 4a03c32 + fcec039 commit 3a364ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitcoin/src/address/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ internals::transparent_newtype! {
327327
/// can be called, providing network on which the address is supposed to be valid. If the verification succeeds,
328328
/// `Address<NetworkChecked>` is returned.
329329
///
330-
/// The types `Address` and `Address<NetworkChecked>` are synonymous, i. e. they can be used interchangeably.
330+
/// The types `Address` and `Address<NetworkChecked>` are synonymous, i.e. they can be used interchangeably.
331331
///
332332
/// ```rust
333333
/// use std::str::FromStr;
@@ -952,7 +952,7 @@ impl From<Address> for ScriptPubKeyBuf {
952952
fn from(a: Address) -> Self { a.script_pubkey() }
953953
}
954954

955-
// Alternate formatting `{:#}` is used to return uppercase version of bech32 addresses which should
955+
// Alternate formatting `{:#}` is used to return an uppercase version of bech32 addresses which should
956956
// be used in QR codes, see [`Address::to_qr_uri`].
957957
impl fmt::Display for Address {
958958
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt::Display::fmt(&self.inner(), fmt) }

0 commit comments

Comments
 (0)