From c5fcba45a00b9401b0ca461c51130a66f8454344 Mon Sep 17 00:00:00 2001 From: Andrew Champion Date: Wed, 11 Dec 2019 13:59:56 +0000 Subject: [PATCH] Fix typo in error display message --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 34902fe..731466d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -139,7 +139,7 @@ impl fmt::Display for TiffUnsupportedError { write!(fmt, "Compression method {:?} is unsupported", method) } UnsupportedSampleDepth(samples) => { - write!(fmt, "{} samples per pixel is supported.", samples) + write!(fmt, "{} samples per pixel is unsupported.", samples) } UnsupportedColorType(color_type) => { write!(fmt, "Color type {:?} is unsupported", color_type)