mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
wc: drop #[allow(clippy::question_mark)]
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user