From 842660720fd1f3d0b278b02cbe906df4c4989903 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sat, 31 Oct 2026 19:39:36 -0700 Subject: [PATCH] fix(kde): replace_configuration takes &Path, not &PathBuf clippy::ptr_arg (rustc 1.99 in the nix KDE clippy check) rejects &PathBuf where &Path will do. Callers passing &PathBuf still compile by deref. No behaviour change. Verified: native clippy --all-targets -D warnings over the KDE packages passes (see the next revision for the exact set). --- komorebi-for-kde/komorebi/src/process_command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komorebi-for-kde/komorebi/src/process_command.rs b/komorebi-for-kde/komorebi/src/process_command.rs index 60b5b3f0..9a9e4dc6 100644 --- a/komorebi-for-kde/komorebi/src/process_command.rs +++ b/komorebi-for-kde/komorebi/src/process_command.rs @@ -453,7 +453,7 @@ impl WindowManager { } /// Replaces the running configuration with the one in the file - pub fn replace_configuration(&mut self, config: &std::path::PathBuf) -> eyre::Result<()> { + pub fn replace_configuration(&mut self, config: &std::path::Path) -> eyre::Result<()> { // Check that this is a valid static config file first if StaticConfig::read(config).is_ok() { // Clear workspace rules; these will need to be replaced