Skip to content

Commit

Permalink
chore: remove use of rustfmt::skip
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored and jacobgkau committed Jun 19, 2024
1 parent a546efa commit c477599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hid_backlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ pub fn daemon() {
let brightness_string = fs::read_to_string(&brightness_file).unwrap();
let brightness = brightness_string.trim().parse::<u8>().unwrap();

#[rustfmt::skip]
let color_string = fs::read_to_string(&color_file)
.unwrap_or_else(|_| String::from("FFFFFF")); // Fallback for non-colored keyboards
// Fallback for non-colored keyboards
.unwrap_or_else(|_| String::from("FFFFFF"));
let color = u32::from_str_radix(color_string.trim(), 16).unwrap();

let mut devices = 0;
Expand Down

0 comments on commit c477599

Please sign in to comment.