File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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///
You can’t perform that action at this time.
0 commit comments