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?p=rust-lightning;a=commitdiff_plain;h=83ab933f35fecd2a8f4994cee5e4c276cecae163 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 6bc60d96..88119267 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 {