Remove use half-open range pattern which is unstable on rustc 1.48

This commit is contained in:
Jonathan Behrens committed 2022-01-12 20:46:17 -05:00
1 parent 01df985ef8
commit 2c7c8891f4
1 file changed
+1 -1
+1 -1
View File
@@ -806,7 +806,7 @@ impl<R: Read + Seek> Decoder<R> {
let next_ifd = match next_ifd { let next_ifd = match next_ifd {
0 => None, 0 => None,
1.. => Some(next_ifd), _ => Some(next_ifd),
}; };
Ok((dir, next_ifd)) Ok((dir, next_ifd))