chore: update CI to clippy 1.76 (#6334)

Co-authored-by: Rafael Bachmann <[email protected]>
This commit is contained in:
Patrick McGleenon
2024-02-10 10:45:40 +01:00
committed by GitHub
co-authored by Rafael Bachmann
parent 0fbde0e94b
commit e392c4ff1e
10 changed files with 15 additions and 9 deletions
+1
View File
@@ -218,6 +218,7 @@ where
// Make sure we've got room for at least one byte to read to ensure
// that we don't get a spurious 0 that looks like EOF.
state.buffer.reserve(1);
#[allow(clippy::blocks_in_conditions)]
let bytect = match poll_read_buf(pinned.inner.as_mut(), cx, &mut state.buffer).map_err(
|err| {
trace!("Got an error, going to errored state");