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:
@@ -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 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user