Skip to content

Commit 6331452

Browse files
committed
Lint
1 parent d0d0968 commit 6331452

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/ifd.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,15 +295,11 @@ impl ImageFileDirectory {
295295
PhotometricInterpretation::from_u16(value.into_u16()?)
296296
}
297297
Tag::ImageDescription => image_description = Some(value.into_string()?),
298-
Tag::StripOffsets => {
299-
strip_offsets = Some(value.into_u64_vec()?)
300-
}
298+
Tag::StripOffsets => strip_offsets = Some(value.into_u64_vec()?),
301299
Tag::Orientation => orientation = Some(value.into_u16()?),
302300
Tag::SamplesPerPixel => samples_per_pixel = Some(value.into_u16()?),
303301
Tag::RowsPerStrip => rows_per_strip = Some(value.into_u32()?),
304-
Tag::StripByteCounts => {
305-
strip_byte_counts = Some(value.into_u64_vec()?)
306-
}
302+
Tag::StripByteCounts => strip_byte_counts = Some(value.into_u64_vec()?),
307303
Tag::MinSampleValue => min_sample_value = Some(value.into_u16_vec()?),
308304
Tag::MaxSampleValue => max_sample_value = Some(value.into_u16_vec()?),
309305
Tag::XResolution => match value {

0 commit comments

Comments
 (0)