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