Skip to content

Commit 83ab933

Browse files
committed
Add a not-exported tag to the Display implementation for RawHrp
RawHrp is already not-exported, so implementations for it should be as well.
1 parent aed4665 commit 83ab933

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning-invoice/src/ser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ impl Display for SignedRawInvoice {
123123
}
124124
}
125125

126+
/// (C-not exported)
126127
impl Display for RawHrp {
127128
fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {
128129
let amount = match self.raw_amount {

0 commit comments

Comments
 (0)