Skip to content

Commit

Permalink
Reduce line count by merging re-exports
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tcharding committed Oct 10, 2023
1 parent ab96bb9 commit 81aed68
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 81aed68

Please sign in to comment.