Rust in Android: move fast and fix things
Rust in Android: move fast and fix things
Rust in Android: move fast and fix things
Long Names Are Long
Fixed Points and Strike Mandates - Paul Khuong: some Lisp
Patterns for Modeling Overlapping Variant Data in Rust
This Overly Long Variable Name Could Have Been a Comment | Jonathan's Blog
Not very familiar with the libraries, and BB_C has already given a lot of more detailed feedback, but here are some small things:
get_files_in_diras a single chain of method calls, you can still replaceif dir.is_err() { return None }; // use dir.unwrap()let Ok(dir) = dir else { return None; }; // use dirif letorlet elseto pattern match, prefer that over unwrapping -- Clippy has a lint relating to this, actually.return Noneinget_files_in_dir.