Fix typo in error display message
This commit is contained in:
1 parent
cbaa9dbc5b
commit
c5fcba45a0
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@ impl fmt::Display for TiffUnsupportedError {
|
|||||||
write!(fmt, "Compression method {:?} is unsupported", method)
|
write!(fmt, "Compression method {:?} is unsupported", method)
|
||||||
}
|
}
|
||||||
UnsupportedSampleDepth(samples) => {
|
UnsupportedSampleDepth(samples) => {
|
||||||
write!(fmt, "{} samples per pixel is supported.", samples)
|
write!(fmt, "{} samples per pixel is unsupported.", samples)
|
||||||
}
|
}
|
||||||
UnsupportedColorType(color_type) => {
|
UnsupportedColorType(color_type) => {
|
||||||
write!(fmt, "Color type {:?} is unsupported", color_type)
|
write!(fmt, "Color type {:?} is unsupported", color_type)
|
||||||
|
|||||||
Reference in new issue
Block a user