Inline the verdict header, and take the formatter's pass

clippy::print_literal on the results table header, and rustfmt's first
look at code whose author could not run cargo. The four constructs the
author flagged as risky -- scoped-thread lanes, a seventeen-argument
params!, is_some_and over a closure, a refutable let-else -- all compiled
untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-30 13:13:57 +02:00
co-authored by Claude Opus 5
parent e8e96eed40
commit a8008feaf3
2 changed files with 11 additions and 7 deletions
+4 -1
View File
@@ -173,7 +173,10 @@ pub fn in_a_fresh_process(catalog_path: &Path) -> Result<Rss> {
.and_then(|v| v.parse::<u64>().ok())
};
let (Some(now_kb), Some(peak_kb)) = (field("rss_kb="), field("peak_kb=")) else {
anyhow::bail!("the memory probe printed something unreadable: {}", text.trim());
anyhow::bail!(
"the memory probe printed something unreadable: {}",
text.trim()
);
};
Ok(Rss { now_kb, peak_kb })
}