diff options
| author | joeac <me@joeac.net> | 2026-01-17 17:17:50 +0000 |
|---|---|---|
| committer | joeac <me@joeac.net> | 2026-01-17 17:17:50 +0000 |
| commit | bf74f305894bde98033932235a4210c7d6865adf (patch) | |
| tree | 051422c97fcb5d7c2eafd426ea66e1a906948747 /schist_desktop_gui/src/paths.rs | |
| parent | fe85652e4d3e8906824baddaafd05d19105579b8 (diff) | |
| parent | f69ec8416c4e6301dcfa06791b025785d7f61b6b (diff) | |
Merge pull request 'random-stuff' (#4) from random-stuff into main
Reviewed-on: https://git.joeac.net/joeac/schist/pulls/4
Diffstat (limited to 'schist_desktop_gui/src/paths.rs')
| -rw-r--r-- | schist_desktop_gui/src/paths.rs | 2 |
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() |
