From 220bd7e221595c71adb8b644792b09c64e44078f Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:07:59 -0500 Subject: [PATCH] Fix format rusty boyz --- apps/desktop/src-tauri/src/commands.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/commands.rs b/apps/desktop/src-tauri/src/commands.rs index a134bc3e..31c82275 100644 --- a/apps/desktop/src-tauri/src/commands.rs +++ b/apps/desktop/src-tauri/src/commands.rs @@ -6,7 +6,9 @@ use crate::{constants::*, Pinned}; #[tauri::command] pub fn zoom_window(window: tauri::Window, scale_factor: f64) { - let window = window.get_window(MAIN_WINDOW_NAME).expect("can't find the main window"); + let window = window + .get_window(MAIN_WINDOW_NAME) + .expect("can't find the main window"); let _ = window.with_webview(move |webview| { #[cfg(target_os = "linux")] {