Remove use half-open range pattern which is unstable on rustc 1.48
This commit is contained in:
1 parent
01df985ef8
commit
2c7c8891f4
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user