diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-06-02 03:24:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 03:24:30 -0400 |
commit | 8689492ae5f4b2b7ae63f28755745ef8f8e7b0a5 (patch) | |
tree | cf3f1d36034ea9f2c26f6eb7954a5ff93109fb44 /src/app/data_harvester/cpu/mod.rs | |
parent | dae3c07cd79a1d4666220c6ed03e1ec49e424832 (diff) |
refactor: unify all mod.rs structure to 2018 style (#742)
This is a pretty small change, but at least _for now_, unifies all
`mod.rs` use cases to the 2018 style for consistency.
I personally don't mind going back to it on a case-by-case basis in the
future if it results in cleaner code, though.
Diffstat (limited to 'src/app/data_harvester/cpu/mod.rs')
-rw-r--r-- | src/app/data_harvester/cpu/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/app/data_harvester/cpu/mod.rs b/src/app/data_harvester/cpu/mod.rs deleted file mode 100644 index 81a0db4c..00000000 --- a/src/app/data_harvester/cpu/mod.rs +++ /dev/null @@ -1,14 +0,0 @@ -//! Data collection for CPU usage and load average. -//! -//! For CPU usage, Linux, macOS, and Windows are handled by Heim. -//! -//! For load average, macOS and Linux are supported through Heim. - -cfg_if::cfg_if! { - if #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))] { - pub mod heim; - pub use self::heim::*; - } -} - -pub type LoadAvgHarvest = [f32; 3]; |