diff --git a/gdbstub_arch/src/aarch64/reg/id.rs b/gdbstub_arch/src/aarch64/reg/id.rs index 27c4ca9..6c56960 100644 --- a/gdbstub_arch/src/aarch64/reg/id.rs +++ b/gdbstub_arch/src/aarch64/reg/id.rs @@ -44,6 +44,7 @@ impl RegId for AArch64RegId { #[allow(clippy::unusual_byte_groupings)] impl AArch64RegId { + #[allow(clippy::len_without_is_empty)] /// Gives the size of the register. pub fn len(&self) -> Option { match self {