style: apply cargo fmt across codebase

Automated formatting pass covering 79 Rust source files.
No logic changes -- only line wrapping, import ordering,
and match/closure reformatting.
This commit is contained in:
vicrodh committed 2026-02-20 00:14:58 -06:00
1 parent f9313c2d80
commit 3a297c0b2b
78 files changed
+4593 -2697

No files matched your search

+5 -4
View File
@@ -7,7 +7,10 @@ use qbz_nix_lib::{api::QobuzClient, credentials};
// These tests must never print credentials or tokens.
fn live_tests_enabled() -> bool {
matches!(std::env::var("QBZ_RUN_QOBUZ_LIVE_TESTS").as_deref(), Ok("1"))
matches!(
std::env::var("QBZ_RUN_QOBUZ_LIVE_TESTS").as_deref(),
Ok("1")
)
}
#[tokio::test]
@@ -17,8 +20,7 @@ async fn qobuz_login_and_favorites_smoke() {
return;
}
let Some(creds) = credentials::load_qobuz_credentials()
.expect("Failed to load credentials")
let Some(creds) = credentials::load_qobuz_credentials().expect("Failed to load credentials")
else {
return;
};
@@ -37,4 +39,3 @@ async fn qobuz_login_and_favorites_smoke() {
.await
.expect("get_favorites failed");
}