Skip to content

Commit 5d2e13e

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 a327a8c commit 5d2e13e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ use checksum::{Checksum, PackedNull};
1717
pub enum NoChecksum {}
1818

1919
/// The bech32 checksum algorithm, defined in [BIP-173].
20+
///
2021
/// [BIP-173]: <https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki>
2122
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
2223
pub enum Bech32 {}
2324

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

0 commit comments

Comments
 (0)