aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/selection.rs
diff options
context:
space:
mode:
authorDaniel S Poulin2022-03-01 01:16:25 +0000
committerGitHub2022-03-01 01:16:25 +0000
commitbdbf42387667b5fa4fa3b89bdb0687cf8cfd2eb0 (patch)
treecc85f7248ad6eafaa07db710af306ae649fde9b6 /helix-core/src/selection.rs
parent7bb1db3ab5565f1c778df87d6dfd004293d7c9c9 (diff)
Minor cleanup of file picker file gathering logic (#1683)
* Refactor file picker filetype filter logic to remove panic, make clearer An unwrap was unneccesarily present due to a prior contribution of mine which was before I had any understanding of error handling in Rust. I've also swapped a match for an if let, as was originally suggested in the original pull request adding filetype filtering, but was merged before I could address. * Add some comments to the file picker code for clarity * Switch to expect instead of ignoring type def error
Diffstat (limited to 'helix-core/src/selection.rs')
0 files changed, 0 insertions, 0 deletions