From 6d62ef70b4ddbbda2304aa4382dab231b5dfd5c5 Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Thu, 16 Oct 2025 11:38:15 +0200 Subject: [PATCH] ifd: allow non-snake-case identifiers Signed-off-by: Daniel Maslowski --- src/ifd.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifd.rs b/src/ifd.rs index 73ab754..1db2bb2 100644 --- a/src/ifd.rs +++ b/src/ifd.rs @@ -27,6 +27,10 @@ //! | Descriptor Upper Map | //! | OEM Section | +// We retain the all-uppercase acronyms in the struct definitions. +// Lowercase helpers are provided through implementations. +#![allow(non_snake_case)] + use std::fmt::Display; use bitfield_struct::bitfield;