diff options
author | Daniel S Poulin | 2022-03-01 01:16:25 +0000 |
---|---|---|
committer | GitHub | 2022-03-01 01:16:25 +0000 |
commit | bdbf42387667b5fa4fa3b89bdb0687cf8cfd2eb0 (patch) | |
tree | cc85f7248ad6eafaa07db710af306ae649fde9b6 /helix-view/src | |
parent | 7bb1db3ab5565f1c778df87d6dfd004293d7c9c9 (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-view/src')
0 files changed, 0 insertions, 0 deletions