cargo fmt

This commit is contained in:
Jonathan Behrens committed 2022-07-23 15:27:02 -07:00
1 parent 7c4a6fae08
commit 5003803c97
1 file changed
+3 -1
+3 -1
View File
@@ -1183,7 +1183,9 @@ impl<R: Read + Seek> Decoder<R> {
/// Returns the size of the data in the chunk with the specified index. This is the default size of the chunk,
/// minus any padding.
pub fn chunk_data_dimensions(&self, chunk_index: u32) -> (u32, u32) {
self.image().chunk_data_dimensions(chunk_index).expect("invalid chunk_index")
self.image()
.chunk_data_dimensions(chunk_index)
.expect("invalid chunk_index")
}
/// Decodes the entire image and return it as a Vector