Skip to content

Commit ad631fc

Browse files
refactor: private mod
1 parent e2f2e7b commit ad631fc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

crates/divan_compat/src/compat/mod.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
// Used by generated code. Not public API and thus not subject to SemVer.
1+
// Used by generated code from the macro `codspeed_divan_compat_macros::bench_compat`
22
#[doc(hidden)]
33
#[path = "private.rs"]
4-
pub mod __private;
4+
pub mod __private {
5+
pub use super::{
6+
bench::{BenchArgs, BenchOptions},
7+
entry::{BenchEntry, BenchEntryRunner, EntryList, EntryLocation, EntryMeta, BENCH_ENTRIES},
8+
};
9+
10+
pub use divan::__private::{Arg, ToStringHelper};
11+
}
512

613
mod bench;
714
mod entry;

crates/divan_compat/src/compat/private.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)