aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocols/gamma_control.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/gamma_control.rs b/src/protocols/gamma_control.rs
index 083710ed..b123c024 100644
--- a/src/protocols/gamma_control.rs
+++ b/src/protocols/gamma_control.rs
@@ -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(_) => {