]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add a not-exported tag to the Display implementation for RawHrp 2021-04-invoice-real-bindings
authorMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 23:16:33 +0000 (23:16 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 1 May 2021 00:36:58 +0000 (00:36 +0000)
RawHrp is already not-exported, so implementations for it should be
as well.

lightning-invoice/src/ser.rs

index 6bc60d960ba437545f721d9437f765df36a108fe..8811926782348a263735b55824ea74fb65d662cb 100644 (file)
@@ -123,6 +123,7 @@ impl Display for SignedRawInvoice {
        }
 }
 
+/// (C-not exported)
 impl Display for RawHrp {
        fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {
                let amount = match self.raw_amount {