From: Elias Rohrer Date: Fri, 9 Sep 2022 13:18:43 +0000 (+0200) Subject: Derive `Debug` for `AccessError` X-Git-Tag: v0.0.111~8^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=689ac256aba6926b5aa76b889143d842b1ff83de;p=rust-lightning Derive `Debug` for `AccessError` --- diff --git a/lightning/src/chain/mod.rs b/lightning/src/chain/mod.rs index 425085695..f05446798 100644 --- a/lightning/src/chain/mod.rs +++ b/lightning/src/chain/mod.rs @@ -61,7 +61,7 @@ impl BestBlock { } /// An error when accessing the chain via [`Access`]. -#[derive(Clone)] +#[derive(Clone, Debug)] pub enum AccessError { /// The requested chain is unknown. UnknownChain,