acpi_tables: add safety comment for impl ByteValued

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2021-11-17 13:17:54 +00:00 committed by Rob Bradford
parent 80bbc47147
commit 243b5bad65

View File

@ -19,6 +19,7 @@ pub struct Rsdp {
_reserved: [u8; 3],
}
// SAFETY: Rsdp only contains a series of integers
unsafe impl ByteValued for Rsdp {}
impl Rsdp {