summaryrefslogtreecommitdiff
path: root/schist_desktop_gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'schist_desktop_gui/src')
-rw-r--r--schist_desktop_gui/src/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/schist_desktop_gui/src/paths.rs b/schist_desktop_gui/src/paths.rs
index f5cbf33..b098859 100644
--- a/schist_desktop_gui/src/paths.rs
+++ b/schist_desktop_gui/src/paths.rs
@@ -33,7 +33,7 @@ fn get_file_paths_checked() -> anyhow::Result<Vec<PathBuf>> {
fn is_sqlite_file(entry: &std::fs::DirEntry) -> bool {
entry
.file_type()
- .is_ok_and(|ft| (FileType::is_file(&ft) || FileType::is_symlink(&ft)))
+ .is_ok_and(|ft| FileType::is_file(&ft) || FileType::is_symlink(&ft))
&& entry
.path()
.extension()