Allow clippy false positive

This commit is contained in:
Ivan Molodetskikh 2024-03-22 21:14:03 +04:00
parent 0d2fdb49ef
commit 7721e3fc44

View File

@ -177,6 +177,7 @@ where
}
// Verify that there's no more data.
#[allow(clippy::unused_io_amount)] // False positive on 1.77.0
match file.read(&mut [0]) {
Ok(0) => (),
Ok(_) => {