From 50f4725c657c6583452d9c85f9b934c3cf2a0f70 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Tue, 13 Jan 2026 17:54:42 +0800 Subject: chore(style): format code --- src-tauri/src/launcher/config.rs | 2 +- src-tauri/src/launcher/launcher.rs | 7 +++++-- src-tauri/src/launcher/mod.rs | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src-tauri/src/launcher') diff --git a/src-tauri/src/launcher/config.rs b/src-tauri/src/launcher/config.rs index fafc229..7637268 100644 --- a/src-tauri/src/launcher/config.rs +++ b/src-tauri/src/launcher/config.rs @@ -10,4 +10,4 @@ impl Config { resolution, } } -} \ No newline at end of file +} diff --git a/src-tauri/src/launcher/launcher.rs b/src-tauri/src/launcher/launcher.rs index 5ccf443..22a8881 100644 --- a/src-tauri/src/launcher/launcher.rs +++ b/src-tauri/src/launcher/launcher.rs @@ -10,6 +10,9 @@ impl Launcher { pub fn launch(&self) { // 启动游戏的逻辑 println!("启动游戏,用户名: {}", self.config.username); - println!("分辨率: {}x{}", self.config.resolution.0, self.config.resolution.1); + println!( + "分辨率: {}x{}", + self.config.resolution.0, self.config.resolution.1 + ); } -} \ No newline at end of file +} diff --git a/src-tauri/src/launcher/mod.rs b/src-tauri/src/launcher/mod.rs index 0359d3e..100de01 100644 --- a/src-tauri/src/launcher/mod.rs +++ b/src-tauri/src/launcher/mod.rs @@ -16,4 +16,4 @@ pub fn start() { // 启动游戏 launcher.launch(); -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2