From 426790bfcb18b538cc10b586a900a9e371d3e053 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 1 Aug 2024 12:24:38 +0700 Subject: [PATCH] Formatting fix For some reason this didn't get caught by my pre-push hook :-( --- rslib/src/image_occlusion/imagedata.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)?;