From c499797a6c959af2f2519ca97171ea6fd229a5dc Mon Sep 17 00:00:00 2001 From: Vid Kersic <38610409+Vid201@users.noreply.github.com> Date: Tue, 23 Apr 2024 11:25:42 +0200 Subject: [PATCH] chore: export tables macro (#7807) --- crates/storage/db/src/lib.rs | 2 +- crates/storage/db/src/tables/mod.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/storage/db/src/lib.rs b/crates/storage/db/src/lib.rs index c0737cc42..5425c8074 100644 --- a/crates/storage/db/src/lib.rs +++ b/crates/storage/db/src/lib.rs @@ -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 diff --git a/crates/storage/db/src/tables/mod.rs b/crates/storage/db/src/tables/mod.rs index 676ed5ebc..b10662325 100644 --- a/crates/storage/db/src/tables/mod.rs +++ b/crates/storage/db/src/tables/mod.rs @@ -101,6 +101,7 @@ pub trait TableViewer { } } +#[macro_export] /// Defines all the tables in the database. macro_rules! tables { (@bool) => { false };