moving imports trough die gegend
This commit is contained in:
@@ -422,7 +422,6 @@ fn get_cpu_temp() -> Option<f32> {
|
|||||||
println!("Attempting to get CPU temperature...");
|
println!("Attempting to get CPU temperature...");
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
use sysinfo::Components;
|
|
||||||
println!("Attempting to get CPU temperature on Linux...");
|
println!("Attempting to get CPU temperature on Linux...");
|
||||||
let mut sys = System::new_all();
|
let mut sys = System::new_all();
|
||||||
//let components = Components::new_with_refreshed_list();
|
//let components = Components::new_with_refreshed_list();
|
||||||
|
Reference in New Issue
Block a user