From 2c7c8891f49d1c01ea5b3d906161df3bd5309175 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Wed, 12 Jan 2022 20:46:17 -0500 Subject: [PATCH] Remove use half-open range pattern which is unstable on rustc 1.48 --- src/decoder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index b3a5ae8..8ba323b 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -806,7 +806,7 @@ impl Decoder { let next_ifd = match next_ifd { 0 => None, - 1.. => Some(next_ifd), + _ => Some(next_ifd), }; Ok((dir, next_ifd))