cleanup hosted mode warning (new with rust 1.68)

This commit is contained in:
bunnie 2023-03-17 22:19:04 +08:00
parent 900dbc3c51
commit a59de6d655

View file

@ -164,7 +164,7 @@ pub(crate) struct EncryptedPage {
/// journal_rev is encrypted and indicates the current journal revision for the block (u32 le)
journal_rev: [u8; 4],
/// data is encrypted and holds the good stuff
data: [u8; (PAGE_SIZE - size_of::<Nonce>() - size_of::<Tag>() - size_of::<u32>())],
data: [u8; PAGE_SIZE - size_of::<Nonce>() - size_of::<Tag>() - size_of::<u32>()],
/// tag is the authentication tag. If the page decrypts & authenticates, we know it's a valid data block for us.
p_tag: [u8; size_of::<Tag>()],
}