Skip to content

Commit f6b7d15

Browse files
committed
feat: derive Debug for Store
This helps in debugging. Especially in assert statements.
1 parent 6b6f02d commit f6b7d15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ const NETWORK: TableDefinition<&str, String> = TableDefinition::new("network");
108108
/// This is the primary struct of this crate. It holds the database corresponding to a wallet.
109109
/// It also holds the table names of redb tables which are specific to each wallet in a database
110110
/// file.
111+
#[derive(Debug)]
111112
pub struct Store {
112113
// We use a reference so as to avoid taking ownership of the Database, allowing other
113114
// applications to write to it. Arc is for thread safety.

0 commit comments

Comments
 (0)