From 83ab933f35fecd2a8f4994cee5e4c276cecae163 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 30 Apr 2021 23:16:33 +0000 Subject: [PATCH] Add a not-exported tag to the Display implementation for RawHrp RawHrp is already not-exported, so implementations for it should be as well. --- lightning-invoice/src/ser.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning-invoice/src/ser.rs b/lightning-invoice/src/ser.rs index 6bc60d960..881192678 100644 --- a/lightning-invoice/src/ser.rs +++ b/lightning-invoice/src/ser.rs @@ -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 { -- 2.39.5