From 16e13be21495389941e9a5314c5a17fb6944c6ca Mon Sep 17 00:00:00 2001 From: electria Date: Fri, 14 Aug 2026 10:53:07 -0700 Subject: [PATCH] minor: use name SVG over extension svg to identify errors since the extension could be svg or svgz --- src/svg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svg.rs b/src/svg.rs index f77fafe..8c3ada5 100644 --- a/src/svg.rs +++ b/src/svg.rs @@ -53,7 +53,7 @@ fn to_image_error( e: impl Into>, ) -> ImageError { ImageError::Decoding(DecodingError::new( - image::error::ImageFormatHint::PathExtension("svg".into()), + image::error::ImageFormatHint::Name("SVG".into()), e, )) }