Formatting fix

For some reason this didn't get caught by my pre-push hook :-(
This commit is contained in:
Damien Elmes 2024-08-01 12:24:38 +07:00
parent 1910b9609e
commit 426790bfcb

View file

@ -153,9 +153,7 @@ impl Collection {
fn is_image_file(&mut self, path: &PathBuf) -> Result<bool> {
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)?;