@@ -109,7 +109,7 @@ const SEP: char = '1';
109109/// } else if unchecked.has_valid_checksum::<Bech32m>() {
110110/// // Remove the checksum and do something with the data as above.
111111/// } else {
112- /// // Checksum is not valid for either the bech32 or bech32 checksum algorithms.
112+ /// // Checksum is not valid for either the bech32 or bech32m checksum algorithms.
113113/// }
114114/// ```
115115#[ derive( Debug ) ]
@@ -125,7 +125,7 @@ pub struct UncheckedHrpstring<'s> {
125125}
126126
127127impl < ' s > UncheckedHrpstring < ' s > {
128- /// Parses an bech32 encode string and constructs a [`UncheckedHrpstring`] object.
128+ /// Parses an bech32 encode string and constructs an [`UncheckedHrpstring`] object.
129129 ///
130130 /// Checks for valid ASCII values, does not validate the checksum.
131131 #[ inline]
@@ -279,7 +279,7 @@ impl<'s> UncheckedHrpstring<'s> {
279279 Ok ( ( ) )
280280 }
281281
282- /// Removes the checksum for the `Ck` algorithm and returns an [`CheckedHrpstring`].
282+ /// Removes the checksum for the `Ck` algorithm and returns a [`CheckedHrpstring`].
283283 ///
284284 /// Data must be valid (ie, first call `has_valid_checksum` or `validate_checksum()`). This
285285 /// function is typically paired with `has_valid_checksum` when validating against multiple
@@ -329,7 +329,7 @@ pub struct CheckedHrpstring<'s> {
329329 hrp : Hrp ,
330330 /// This is ASCII byte values of the parsed string, guaranteed to be valid bech32 characters.
331331 ///
332- /// The characters after the '1' separator and the before the checksum.
332+ /// The characters after the '1' separator and before the checksum.
333333 ascii : & ' s [ u8 ] ,
334334 /// The length of the parsed hrpstring.
335335 hrpstring_length : usize , // Guaranteed to be <= CK::CODE_LENGTH
0 commit comments