@@ -184,7 +184,7 @@ impl Hrp {
184
184
#[ inline]
185
185
pub fn is_empty ( & self ) -> bool { false }
186
186
187
- /// Returns `true` if this [`Hrp`] is valid according to the bips.
187
+ /// Returns `true` if this HRP is valid according to the bips.
188
188
///
189
189
/// [BIP-173] states that the HRP must be either "bc" or "tb".
190
190
///
@@ -194,19 +194,19 @@ impl Hrp {
194
194
self . is_valid_on_mainnet ( ) || self . is_valid_on_testnet ( )
195
195
}
196
196
197
- /// Returns `true` if this hrpstring is valid on the Bitcoin network i.e., HRP is "bc".
197
+ /// Returns `true` if this HRP is valid on the Bitcoin network i.e., HRP is "bc".
198
198
#[ inline]
199
199
pub fn is_valid_on_mainnet ( & self ) -> bool { * self == self :: BC }
200
200
201
- /// Returns `true` if this hrpstring is valid on the Bitcoin testnet network i.e., HRP is "tb".
201
+ /// Returns `true` if this HRP is valid on the Bitcoin testnet network i.e., HRP is "tb".
202
202
#[ inline]
203
203
pub fn is_valid_on_testnet ( & self ) -> bool { * self == self :: TB }
204
204
205
- /// Returns `true` if this hrpstring is valid on the Bitcoin signet network i.e., HRP is "tb".
205
+ /// Returns `true` if this HRP is valid on the Bitcoin signet network i.e., HRP is "tb".
206
206
#[ inline]
207
207
pub fn is_valid_on_signet ( & self ) -> bool { * self == self :: TB }
208
208
209
- /// Returns `true` if this hrpstring is valid on the Bitcoin regtest network i.e., HRP is "bcrt".
209
+ /// Returns `true` if this HRP is valid on the Bitcoin regtest network i.e., HRP is "bcrt".
210
210
#[ inline]
211
211
pub fn is_valid_on_regtest ( & self ) -> bool { * self == self :: BCRT }
212
212
}
0 commit comments