diff --git a/block/src/formats/qcow/worker/async_uring.rs b/block/src/formats/qcow/worker/async_uring.rs index 4e9d06d3b..6e93ac609 100644 --- a/block/src/formats/qcow/worker/async_uring.rs +++ b/block/src/formats/qcow/worker/async_uring.rs @@ -321,7 +321,7 @@ impl QcowAsync { /// Returns `Some(host_offset)` if the entire read falls within a single /// allocated cluster (fast path). Otherwise handles the read /// synchronously via `scatter_read_sync` and returns `None`. - #[allow(clippy::too_many_arguments)] + #[expect(clippy::too_many_arguments)] fn resolve_read( metadata: &QcowMetadata, data_file: &QcowRawFile, diff --git a/block/src/io/fcntl.rs b/block/src/io/fcntl.rs index 0cb2ee552..7faa9540e 100644 --- a/block/src/io/fcntl.rs +++ b/block/src/io/fcntl.rs @@ -34,7 +34,7 @@ pub enum LockError { } /// Commands for use with [`fcntl`]. -#[allow(non_camel_case_types)] +#[expect(non_camel_case_types)] enum FcntlArg<'a> { /// Set an OFD lock from the given lock description. F_OFD_SETLK(&'a libc::flock),