Skip to content

Commit

Permalink
clippy: Fix redundant closure
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Jul 26, 2023
1 parent 0c97649 commit 7936a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn main() -> hyprland::Result<()> {

// Only dim if the active window is a new window
if is_new_window(window_address) {
let _ = thread::spawn(|| dim());
let _ = thread::spawn(dim);
}
});

Expand Down

0 comments on commit 7936a42

Please sign in to comment.