Skip to content

Commit

Permalink
chore: export tables macro (paradigmxyz#7807)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vid201 authored Apr 23, 2024
1 parent b9db4cb commit c499797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/storage/db/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//!
//! # Overview
//!
//! An overview of the current data model of reth can be found in the [`tables`] module.
//! An overview of the current data model of reth can be found in the [`mod@tables`] module.
//!
//! [`Database`]: crate::abstraction::database::Database
//! [`DbTx`]: crate::abstraction::transaction::DbTx
Expand Down
1 change: 1 addition & 0 deletions crates/storage/db/src/tables/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pub trait TableViewer<R> {
}
}

#[macro_export]
/// Defines all the tables in the database.
macro_rules! tables {
(@bool) => { false };
Expand Down

0 comments on commit c499797

Please sign in to comment.