diff --git a/src/core/update.rs b/src/core/update.rs index 6f31d732..51fe4c4d 100644 --- a/src/core/update.rs +++ b/src/core/update.rs @@ -277,8 +277,7 @@ async fn fetch_latest_version() -> Result { .await .context("reading response body")?; - let release: LatestRelease = - serde_json::from_slice(&body).context("parsing release JSON")?; + let release: LatestRelease = serde_json::from_slice(&body).context("parsing release JSON")?; Ok(release.tag_name) } diff --git a/src/main.rs b/src/main.rs index ab3ea67c..b7de21ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,9 @@ // Hide the console window on Windows release builds; keep it in debug builds // so println!/eprintln! output remains visible while developing. -#![cfg_attr(all(target_os = "windows", not(debug_assertions)), windows_subsystem = "windows")] +#![cfg_attr( + all(target_os = "windows", not(debug_assertions)), + windows_subsystem = "windows" +)] mod core; mod daemon;