From a08aa1e45ab78a81e2c2229778bc0e7c2bc5a5aa Mon Sep 17 00:00:00 2001 From: Tony Date: Sun, 7 Dec 2025 20:14:34 +0800 Subject: [PATCH] Clippy --- crates/tauri/src/path/desktop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tauri/src/path/desktop.rs b/crates/tauri/src/path/desktop.rs index f5a912bea..caf797613 100644 --- a/crates/tauri/src/path/desktop.rs +++ b/crates/tauri/src/path/desktop.rs @@ -321,7 +321,7 @@ impl PathResolver { if let Some(base_directory) = app_directories_override .components() .next() - .and_then(|str| BaseDirectory::from_variable(&str.as_os_str().to_str()?)) + .and_then(|str| BaseDirectory::from_variable(str.as_os_str().to_str()?)) { return if matches!( base_directory,