From 5003803c970095784fd5102612b34d946ca822d2 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Sat, 23 Jul 2022 15:27:02 -0700 Subject: [PATCH] cargo fmt --- src/decoder/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 8c76767..5359339 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -1183,7 +1183,9 @@ impl Decoder { /// 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