diff --git a/src/hrp.rs b/src/hrp.rs index cf161f3df..7a1631a14 100644 --- a/src/hrp.rs +++ b/src/hrp.rs @@ -1,4 +1,6 @@ // SPDX-License-Identifier: MIT +//! Re-exports the hrp types from [`primitives::hrp`] to make importing ergonomic for the top level APIs. + #[doc(inline)] pub use crate::primitives::hrp::{Hrp, BC, BCRT, TB}; diff --git a/src/lib.rs b/src/lib.rs index 033cbf3e1..acd3ba841 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,11 +141,8 @@ extern crate alloc; extern crate core; mod error; -/// Re-exports the hrp types from [`primitives::hrp`] to make importing ergonomic for the top level APIs. pub mod hrp; -/// All the primitive types and functionality used in encoding and decoding. pub mod primitives; -/// API for encoding and decoding segwit addresses. pub mod segwit; #[cfg(all(feature = "alloc", not(feature = "std"), not(test)))]