From 40059564a85f2e9841ae5e5a5e234849716313ad Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Tue, 22 Apr 2025 22:22:42 +0200 Subject: [PATCH] all: address clippy lints --- toml-config/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/toml-config/src/lib.rs b/toml-config/src/lib.rs index 9e4e503c..cbf12998 100644 --- a/toml-config/src/lib.rs +++ b/toml-config/src/lib.rs @@ -100,9 +100,7 @@ impl Action { SimpleCommand::SetFloatAboveFullscreen(bool) => { B::new(move || set_float_above_fullscreen(bool)) } - SimpleCommand::ToggleFloatAboveFullscreen => { - B::new(|| toggle_float_above_fullscreen()) - } + SimpleCommand::ToggleFloatAboveFullscreen => B::new(toggle_float_above_fullscreen), }, Action::Multi { actions } => { let actions: Vec<_> = actions.into_iter().map(|a| a.into_fn(state)).collect();