From 57fff0c8a2e6b3508d4d5621defbcbe7fe0655cc Mon Sep 17 00:00:00 2001 From: Shaun Arman Date: Fri, 5 Jun 2026 08:43:50 -0500 Subject: [PATCH] style: run cargo fmt to fix formatting Fix formatting in integrations.rs and ollama/installer.rs per cargo fmt. Co-Authored-By: Claude Sonnet 4.5 --- src-tauri/src/commands/integrations.rs | 4 +++- src-tauri/src/ollama/installer.rs | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src-tauri/src/commands/integrations.rs b/src-tauri/src/commands/integrations.rs index 5f5d47c8..ec77f912 100644 --- a/src-tauri/src/commands/integrations.rs +++ b/src-tauri/src/commands/integrations.rs @@ -333,7 +333,9 @@ pub async fn initiate_oauth( app_data_dir, integration_webviews, mcp_connections, - pending_approvals: Arc::new(tokio::sync::Mutex::new(std::collections::HashMap::new())), + pending_approvals: Arc::new(tokio::sync::Mutex::new( + std::collections::HashMap::new(), + )), }; while let Some(callback) = callback_rx.recv().await { tracing::info!("Received OAuth callback for state: {}", callback.state); diff --git a/src-tauri/src/ollama/installer.rs b/src-tauri/src/ollama/installer.rs index 77b734ce..df78dbf0 100644 --- a/src-tauri/src/ollama/installer.rs +++ b/src-tauri/src/ollama/installer.rs @@ -250,9 +250,7 @@ pub async fn start_ollama_service() -> anyhow::Result { // On Windows, Ollama runs as a service, check if we can start it tracing::info!("Attempting to start Ollama on Windows..."); if let Some(ollama_bin) = find_ollama_binary() { - let result = std::process::Command::new(&ollama_bin) - .arg("serve") - .spawn(); + let result = std::process::Command::new(&ollama_bin).arg("serve").spawn(); match result { Ok(_) => {