clippy fix.

This commit is contained in:
Pedro de Oliveira 2023-04-30 19:37:00 +01:00
parent c1d501cb3f
commit 6951dc7f11
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ pub fn write_voc(voc: &Voc) -> Vec<u8> {
let checksum = (!i16::from_le_bytes([voc.version.minor, voc.version.major]) + 0x1234) as u16;
bytes.extend_from_slice(&checksum.to_le_bytes());
for block in &voc.blocks {
match write_block(&block) {
match write_block(block) {
Ok(block_bytes) => {
bytes.extend_from_slice(&block_bytes);
},