@@ -191,7 +191,7 @@ impl Hrp {
191
191
#[ allow( clippy:: len_without_is_empty) ] // HRP is never empty.
192
192
pub fn len ( & self ) -> usize { self . size }
193
193
194
- /// Returns `true` if this [`Hrp`] is valid according to the bips.
194
+ /// Returns `true` if this HRP is valid according to the bips.
195
195
///
196
196
/// [BIP-173] states that the HRP must be either "bc" or "tb".
197
197
///
@@ -201,19 +201,19 @@ impl Hrp {
201
201
self . is_valid_on_mainnet ( ) || self . is_valid_on_testnet ( )
202
202
}
203
203
204
- /// Returns `true` if this hrpstring is valid on the Bitcoin network i.e., HRP is "bc".
204
+ /// Returns `true` if this HRP is valid on the Bitcoin network i.e., HRP is "bc".
205
205
#[ inline]
206
206
pub fn is_valid_on_mainnet ( & self ) -> bool { * self == self :: BC }
207
207
208
- /// Returns `true` if this hrpstring is valid on the Bitcoin testnet network i.e., HRP is "tb".
208
+ /// Returns `true` if this HRP is valid on the Bitcoin testnet network i.e., HRP is "tb".
209
209
#[ inline]
210
210
pub fn is_valid_on_testnet ( & self ) -> bool { * self == self :: TB }
211
211
212
- /// Returns `true` if this hrpstring is valid on the Bitcoin signet network i.e., HRP is "tb".
212
+ /// Returns `true` if this HRP is valid on the Bitcoin signet network i.e., HRP is "tb".
213
213
#[ inline]
214
214
pub fn is_valid_on_signet ( & self ) -> bool { * self == self :: TB }
215
215
216
- /// Returns `true` if this hrpstring is valid on the Bitcoin regtest network i.e., HRP is "bcrt".
216
+ /// Returns `true` if this HRP is valid on the Bitcoin regtest network i.e., HRP is "bcrt".
217
217
#[ inline]
218
218
pub fn is_valid_on_regtest ( & self ) -> bool { * self == self :: BCRT }
219
219
}
0 commit comments