diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 1668980..a764ba8 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -938,12 +938,10 @@ fn load_extensions(app: AppHandle) -> Vec { } fn is_sheet_path(path: &str) -> bool { - std::path::Path::new(path) - .extension() - .map_or(false, |ext| { - let ext = ext.to_string_lossy().to_lowercase(); - ext == "numi" || ext == "sum" - }) + std::path::Path::new(path).extension().map_or(false, |ext| { + let ext = ext.to_string_lossy().to_lowercase(); + ext == "numi" || ext == "sum" + }) } /// A sheet handed to us by the OS (file association, second launch): same