fix bugs after rebase

This commit is contained in:
Tamo 2025-01-14 16:36:09 +01:00 committed by Louis Dureuil
parent d3654906bf
commit e70ac35e02
No known key found for this signature in database
4 changed files with 5 additions and 6 deletions

View file

@ -8,8 +8,7 @@ const VERSION_SIZE: usize = std::mem::size_of::<u32>() * 3;
#[derive(thiserror::Error, Debug)]
#[error(
"Could not decode the version: Expected {} bytes but instead received {0} bytes",
VERSION_SIZE
"Could not decode the version: Expected {VERSION_SIZE} bytes but instead received {0} bytes"
)]
pub struct DecodeVersionError(usize);