chore(fmt): rustfmt drift cleanup across misc crates

Pure formatter output — no semantic changes. Sweeping these into their
own commit so the FIPS integration diff that follows stays scoped to
the actual feature.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-18 22:57:14 -04:00
parent 58e9754cf2
commit f04804ae25
10 changed files with 24 additions and 37 deletions

View File

@@ -567,9 +567,7 @@ impl RpcHandler {
.output()
.await
.ok();
check.is_some_and(|o| {
!String::from_utf8_lossy(&o.stdout).trim().is_empty()
})
check.is_some_and(|o| !String::from_utf8_lossy(&o.stdout).trim().is_empty())
} else {
false
};

View File

@@ -110,10 +110,7 @@ fn parse_size_value(s: &str) -> Option<u64> {
let s = s.trim();
let (num_str, multiplier) = if let Some(pos) = s.rfind("GiB") {
(
s[..pos].split_whitespace().last()?,
1024 * 1024 * 1024,
)
(s[..pos].split_whitespace().last()?, 1024 * 1024 * 1024)
} else if let Some(pos) = s.rfind("MiB") {
(s[..pos].split_whitespace().last()?, 1024 * 1024)
} else if let Some(pos) = s.rfind("KiB") {