chore: update CI to clippy 1.88 (#7452)

This commit is contained in:
Aaron Chen
2025-07-09 08:34:24 +02:00
committed by GitHub
parent aff24dfbeb
commit a7896d07f1
28 changed files with 63 additions and 84 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ async fn feed_cat(mut cat: Child, n: usize) -> io::Result<ExitStatus> {
// Produce n lines on the child's stdout.
let write = async {
for i in 0..n {
let bytes = format!("line {}\n", i).into_bytes();
let bytes = format!("line {i}\n").into_bytes();
stdin.write_all(&bytes).await.unwrap();
}
@@ -52,7 +52,7 @@ async fn feed_cat(mut cat: Child, n: usize) -> io::Result<ExitStatus> {
(false, 0) => panic!("broken pipe"),
(true, n) if n != 0 => panic!("extraneous data"),
_ => {
let expected = format!("line {}", num_lines);
let expected = format!("line {num_lines}");
assert_eq!(expected, data);
}
};