From: Matt Corallo Date: Fri, 30 Apr 2021 23:16:33 +0000 (+0000) Subject: Add a not-exported tag to the Display implementation for RawHrp X-Git-Tag: v0.0.14~3^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2021-04-invoice-real-bindings;p=rust-lightning Add a not-exported tag to the Display implementation for RawHrp RawHrp is already not-exported, so implementations for it should be as well. --- 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 {