mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-11-16 00:34:13 +00:00
clippy: Collapse nested else/if into else if
This commit is contained in:
1 parent
0c46a0e21f
commit
60a3eac072
1 file changed
+1
-3
+1
-3
@@ -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