Skip to content

Commit

Permalink
Merge rust-bitcoin#136: Reduce line count by merging re-exports
Browse files Browse the repository at this point in the history
74c876d Reduce line count by merging re-exports (Tobin C. Harding)

Pull request description:

  Reduce line count and attribute usage by merging the `hrp` re-exports into a single statement.

  Refactor only, no logic changes. Also, this patch does not introduce any changes to the rendered HTML.

ACKs for top commit:
  apoelstra:
    ACK 74c876d

Tree-SHA512: 5bfc02fa8d3a858deaf5a75c60ae5a306866e3452f7cfbd98361e65e88568bb4be5b4211deed1d8b30ee1c5d4b9882310d7c82d3cf4e1c43c3621c52e1ec2ca0
  • Loading branch information
apoelstra committed Oct 11, 2023
2 parents f3499ee + 74c876d commit 7c3ddff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/hrp.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
// SPDX-License-Identifier: MIT

#[doc(inline)]
pub use crate::primitives::hrp::Hrp;
#[doc(inline)]
pub use crate::primitives::hrp::BC;
#[doc(inline)]
pub use crate::primitives::hrp::BCRT;
#[doc(inline)]
pub use crate::primitives::hrp::TB;
pub use crate::primitives::hrp::{Hrp, BC, BCRT, TB};

0 comments on commit 7c3ddff

Please sign in to comment.