Skip to content

Commit 55dddc8

Browse files
committed
fixup! feat: Make the collector module public
1 parent bf10bd6 commit 55dddc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/collector.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#[cfg_attr(target_os = "windows", path = "collector/windows.rs")]
1717
#[cfg_attr(target_os = "freebsd", path = "collector/freebsd.rs")]
1818
#[cfg_attr(target_os = "openbsd", path = "collector/openbsd.rs")]
19-
#[allow(unused_attributes, clippy::module_inception)]
19+
#[allow(unused_attributes)]
2020
#[cfg_attr(feature = "dummy", path = "collector/dummy.rs")]
21-
mod collector;
21+
mod implementation;
2222

2323
#[cfg(all(
2424
not(feature = "dummy"),
@@ -37,7 +37,7 @@ compile_error!(
3737
/// Creates a snapshot of the running process' [`Metrics`].
3838
///
3939
/// Creates a new instance of [`Metrics`] with the current values of the running process.
40-
pub use collector::collect;
40+
pub use implementation::collect;
4141

4242
/// Standard Prometheus process metrics.
4343
///

0 commit comments

Comments
 (0)