diff --git a/src/primitives/segwit.rs b/src/primitives/segwit.rs index 1670b800d..94f5cd7a6 100644 --- a/src/primitives/segwit.rs +++ b/src/primitives/segwit.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT -//! Segregated Witness functionality - useful for enforcing parts of [`BIP-173`] and [`BIP-350`]. +//! Segregated Witness functionality - useful for enforcing parts of [BIP-173] and [BIP-350]. //! //! [BIP-173]: //! [BIP-350]: diff --git a/src/segwit.rs b/src/segwit.rs index 9a0d33ff6..e4968573b 100644 --- a/src/segwit.rs +++ b/src/segwit.rs @@ -85,8 +85,8 @@ pub fn decode(s: &str) -> Result<(Hrp, Fe32, Vec), DecodeError> { /// Does validity checks on the `witness_version`, length checks on the `witness_program`, and /// checks the total encoded string length. /// -/// As specified by [`BIP-350`] we use the [`Bech32m`] checksum algorithm for witness versions 1 and -/// above, and for witness version 0 we use the original ([`BIP-173`]) [`Bech32`] checksum +/// As specified by [BIP-350] we use the [`Bech32m`] checksum algorithm for witness versions 1 and +/// above, and for witness version 0 we use the original ([BIP-173]) [`Bech32`] checksum /// algorithm. /// /// See also [`encode_v0`] or [`encode_v1`].