Skip to content

Commit

Permalink
Cleaning Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
death7654 committed Dec 19, 2024
1 parent 750b368 commit 60abdc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/temps.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{fs};
use std::fs;

fn get_temp_sys() -> u16 {
let paths = match fs::read_dir("/sys/class/hwmon/") {
Expand Down Expand Up @@ -29,7 +29,7 @@ fn get_temp_sys() -> u16 {
pub fn get_temp(ec_temps: String) -> u16 {
let mut max_temp: u16 = 0;
let mut vector = Vec::new();
let temps = ec_temps
let _ = ec_temps
.split("\n")
.into_iter()
.map(|l: &str| {
Expand Down

0 comments on commit 60abdc8

Please sign in to comment.