diff --git a/rslib/src/image_occlusion/imagedata.rs b/rslib/src/image_occlusion/imagedata.rs index 829fe487e..60628c147 100644 --- a/rslib/src/image_occlusion/imagedata.rs +++ b/rslib/src/image_occlusion/imagedata.rs @@ -153,9 +153,7 @@ impl Collection { fn is_image_file(&mut self, path: &PathBuf) -> Result { let file_path = Path::new(&path); - let supported_extensions = [ - "jpg", "jpeg", "png", "gif", "svg", "webp", "ico", "avif", - ]; + let supported_extensions = ["jpg", "jpeg", "png", "gif", "svg", "webp", "ico", "avif"]; if file_path.exists() { let meta = metadata(file_path)?;