]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Derive `Debug` for `AccessError`
authorElias Rohrer <ero@tnull.de>
Fri, 9 Sep 2022 13:18:43 +0000 (15:18 +0200)
committerElias Rohrer <ero@tnull.de>
Fri, 9 Sep 2022 13:18:43 +0000 (15:18 +0200)
lightning/src/chain/mod.rs

index 42508569575f988bf508ae69ba64ab40abb453e7..f0544679817db3434a679662901240b99d68da54 100644 (file)
@@ -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,