File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ use crate::ser::Base32Iterable;
9191#[ allow( missing_docs) ]
9292#[ derive( PartialEq , Eq , Debug , Clone ) ]
9393pub enum Bolt11ParseError {
94- Bech32Error ( CheckedHrpstringError ) ,
94+ Bech32Error (
95+ /// This is not exported to bindings users as the details don't matter much
96+ CheckedHrpstringError ,
97+ ) ,
9598 ParseAmountError ( ParseIntError ) ,
9699 MalformedSignature ( bitcoin:: secp256k1:: Error ) ,
97100 BadPrefix ,
Original file line number Diff line number Diff line change @@ -142,7 +142,10 @@ pub enum Bolt12ParseError {
142142 /// being parsed.
143143 InvalidBech32Hrp ,
144144 /// The string could not be bech32 decoded.
145- Bech32 ( CheckedHrpstringError ) ,
145+ Bech32 (
146+ /// This is not exported to bindings users as the details don't matter much
147+ CheckedHrpstringError ,
148+ ) ,
146149 /// The bech32 decoded string could not be decoded as the expected message type.
147150 Decode ( DecodeError ) ,
148151 /// The parsed message has invalid semantics.
You can’t perform that action at this time.
0 commit comments