Updated create_reader to only require &mut SmartReader and not &mut Self

This commit is contained in:
Alan Race committed 2022-04-28 08:54:32 +02:00
1 parent 2cf33d634d
commit 9e6f9771d3
2 files changed
+32 -21

No files matched your search

+1 -3
View File
@@ -390,10 +390,8 @@ fn oom() {
let err = decoder.read_image().unwrap_err();
match err {
tiff::TiffError::LimitsExceeded => {}
tiff::TiffError::UnsupportedError(tiff::TiffUnsupportedError::InterpretationWithBits(
_,
_,
..,
)) => {}
unexpected => panic!("Unexpected error {}", unexpected),
}