Skip to content

Commit 9f7c21a

Browse files
committed
Fix links
Fix the links by doing: - Use correct number, 350 not 359. - Make rustdoc render the links correctly, currently they are being rendered as the URL because it requires whitespace between body of rustdoc and link target.
1 parent d432a4f commit 9f7c21a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/hrp.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// SPDX-License-Identifier: MIT
22

33
//! Re-exports the hrp types from [`primitives::hrp`] to make importing ergonomic for the top level APIs.
4+
//!
5+
//! [`primitives::hrp`]: crate::primitives::hrp
46
57
#[doc(inline)]
68
pub use crate::primitives::hrp::{Hrp, BC, BCRT, TB};

src/primitives/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub enum Bech32 {}
2424

2525
/// The bech32m checksum algorithm, defined in [BIP-350].
2626
///
27-
/// [BIP-350]: <https://github.com/bitcoin/bips/blob/master/bip-0359.mediawiki>
27+
/// [BIP-350]: <https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki>
2828
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
2929
pub enum Bech32m {}
3030

0 commit comments

Comments
 (0)