cargo fmt
This commit is contained in:
1 parent
7c4a6fae08
commit
5003803c97
1 file changed
+3
-1
+3
-1
@@ -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,
|
/// Returns the size of the data in the chunk with the specified index. This is the default size of the chunk,
|
||||||
/// minus any padding.
|
/// minus any padding.
|
||||||
pub fn chunk_data_dimensions(&self, chunk_index: u32) -> (u32, u32) {
|
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
|
/// Decodes the entire image and return it as a Vector
|
||||||
|
|||||||
Reference in new issue
Block a user