Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/lib.rs')
| -rw-r--r-- | helix-term/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/lib.rs b/helix-term/src/lib.rs index cf4fbd9f..a371dd1c 100644 --- a/helix-term/src/lib.rs +++ b/helix-term/src/lib.rs @@ -63,7 +63,7 @@ fn filter_picker_entry(entry: &DirEntry, root: &Path, dedup_symlinks: bool) -> b .path() .canonicalize() .ok() - .map_or(false, |path| !path.starts_with(root)); + .is_some_and(|path| !path.starts_with(root)); } true |