[repo] Lab relay: compile fixes after the first build (clippy, fmt); 28 unit tests pass

This commit is contained in:
2026-11-25 13:08:46 +01:00
parent ab5404b0cf
commit fd1c141ca8
6 changed files with 48 additions and 26 deletions
+2 -1
View File
@@ -61,6 +61,7 @@ impl Rewriter {
}
/// Bytes currently held back.
#[cfg(test)]
pub fn held(&self) -> usize {
self.held.len()
}
@@ -92,7 +93,7 @@ mod tests {
fn replaces_in_one_chunk() {
let (out, n) = run(&mut lab(), &[ANSWER]);
assert_eq!(n, 1);
assert_eq!(out, ANSWER.to_vec().iter().copied().collect::<Vec<_>>().replace_all_for_test());
assert_eq!(out, ANSWER.to_vec().replace_all_for_test());
}
#[test]