summaryrefslogtreecommitdiff
path: root/src/image.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-06-13 23:16:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-06-14 13:53:02 +0200
commitc81e2a5f56eb262663f292578c683fba7f18251f (patch)
tree6c045a8dcbec5e75e01a15f970ef8cee6ff042d0 /src/image.rs
parent891af17260a6750a74a102388a05e59cf1ffc3c1 (diff)
Many fixes
Diffstat (limited to 'src/image.rs')
-rw-r--r--src/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.rs b/src/image.rs
index 5b60c815..6b21bdd9 100644
--- a/src/image.rs
+++ b/src/image.rs
@@ -133,7 +133,7 @@ pub struct RasterImage {
}
impl RasterImage {
- /// Parse an image from raw data in a supported format (PNG or JPEG).
+ /// Parse an image from raw data in a supported format (PNG, JPEG or GIF).
///
/// The image format is determined automatically.
pub fn parse(data: &[u8]) -> io::Result<Self> {