diff --git a/src/webp.rs b/src/webp.rs index bc140c7..d84da42 100644 --- a/src/webp.rs +++ b/src/webp.rs @@ -82,7 +82,7 @@ fn get_exif_attr_sub(reader: &mut R) } reader.discard_exact(size as usize)?; } - return Err(Error::NotFound("WebP")); + Err(Error::NotFound("WebP")) } pub fn is_webp(buf: &[u8]) -> bool {