From 180f5697eb96a8e1e7ec7cd566190bda05420266 Mon Sep 17 00:00:00 2001 From: jeasonnow Date: Mon, 5 Aug 2024 11:16:53 +0800 Subject: [PATCH] format: format code --- src-tauri/src/app/window.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/app/window.rs b/src-tauri/src/app/window.rs index f3d7ad8d3..cd3cc022a 100644 --- a/src-tauri/src/app/window.rs +++ b/src-tauri/src/app/window.rs @@ -50,7 +50,9 @@ pub fn build_window(app: &mut App, config: PakeConfig, _data_dir: PathBuf) -> Wi #[cfg(not(target_os = "macos"))] { - window_builder = window_builder.data_directory(_data_dir).set_title(app.package_info().name); + window_builder = window_builder + .data_directory(_data_dir) + .set_title(app.package_info().name); } window_builder.build().expect("Failed to build window")