mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-02 09:50:44 +00:00
clippy: Collapse nested else/if into else if
This commit is contained in:
@@ -124,8 +124,7 @@ where
|
|||||||
self.inner
|
self.inner
|
||||||
.inner
|
.inner
|
||||||
.write_u32::<LittleEndian>(self.length as u32)?;
|
.write_u32::<LittleEndian>(self.length as u32)?;
|
||||||
} else {
|
} else if self.ident == DATA_SIG {
|
||||||
if self.ident == DATA_SIG {
|
|
||||||
let data_chunk_64bit_field_offset = 8 + 4 + 8 + 8;
|
let data_chunk_64bit_field_offset = 8 + 4 + 8 + 8;
|
||||||
self.inner
|
self.inner
|
||||||
.inner
|
.inner
|
||||||
@@ -140,7 +139,6 @@ where
|
|||||||
} else {
|
} else {
|
||||||
todo!("FIXME RF64 wave writing is not yet supported for chunks other than `data`")
|
todo!("FIXME RF64 wave writing is not yet supported for chunks other than `data`")
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user