forge
Explore
Log in

Don't you dare go Hollow

Remove redundant clippy allow

Browse files at this commit

88dc6e22d05552debab6d06da916fa7e57faab96Ivan MolodetskikhParent: ce8171b
src/niri.rsmodified+0 -1
@@ -942,7 +942,6 @@ impl State {
942 self.niri.layout.activate_window(window);942 self.niri.layout.activate_window(window);
943 943
944 let new_active = self.niri.layout.active_output().cloned();944 let new_active = self.niri.layout.active_output().cloned();
945- #[allow(clippy::collapsible_if)]
946 if new_active != active_output {945 if new_active != active_output {
947 if !self.maybe_warp_cursor_to_focus_centered() {946 if !self.maybe_warp_cursor_to_focus_centered() {
948 self.move_cursor_to_output(&new_active.unwrap());947 self.move_cursor_to_output(&new_active.unwrap());