Merge pull request #592 from sum-elier/fix-window-icon-dimensionsmismatch-error

Fixes #591 DimensionsMismatch error message
This commit is contained in:
Héctor Ramón 2020-11-02 15:06:01 +01:00 committed by GitHub
commit 28280600d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ impl fmt::Display for Error {
write!(f, write!(f,
"The number of RGBA pixels ({:?}) does not match the provided \ "The number of RGBA pixels ({:?}) does not match the provided \
dimensions ({:?}x{:?}).", dimensions ({:?}x{:?}).",
width, height, pixel_count, pixel_count, width, height,
) )
} }
Error::OsError(e) => write!( Error::OsError(e) => write!(