From f3286922ad4becbb24ae7e0218f8ae86c7ae92b1 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Wed, 22 Apr 2026 19:28:58 +0200 Subject: [PATCH] fix: satisfy clippy for MCP status --- src-tauri/src/commands/system.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src-tauri/src/commands/system.rs b/src-tauri/src/commands/system.rs index a97cba3c..388a1a29 100644 --- a/src-tauri/src/commands/system.rs +++ b/src-tauri/src/commands/system.rs @@ -36,11 +36,9 @@ pub async fn remove_mcp_tools() -> Result { #[tauri::command] pub async fn check_mcp_status(vault_path: String) -> Result { let vault_path = super::expand_tilde(&vault_path).into_owned(); - Ok( - tokio::task::spawn_blocking(move || crate::mcp::check_mcp_status(&vault_path)) - .await - .map_err(|e| format!("MCP status check failed: {e}"))?, - ) + tokio::task::spawn_blocking(move || crate::mcp::check_mcp_status(&vault_path)) + .await + .map_err(|e| format!("MCP status check failed: {e}")) } // ── MCP commands (mobile stubs) ─────────────────────────────────────────────