wc: drop #[allow(clippy::question_mark)]

This commit is contained in:
oech3
2026-04-04 22:24:05 +02:00
committed by Sylvestre Ledru
parent a1371a83ea
commit 4c0c72cfb9
-1
View File
@@ -52,7 +52,6 @@ fn count_bytes_using_splice(fd: &impl AsFd) -> Result<usize, usize> {
Ok(res) => {
byte_count += res;
// Silent the warning as we want to the error message
#[allow(clippy::question_mark)]
if splice_exact(&pipe_rd, &null_file, res).is_err() {
return Err(byte_count);
}