style: fix clippy warnings and cargo fmt formatting

- Replace redundant closure with function reference (clippy::redundant_closure)
- Use is_some_and instead of map_or(false, ...) (clippy::unnecessary_map_or)
- Run cargo fmt across all files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexander Kiselev
2026-02-05 12:09:55 -08:00
co-authored by Claude Opus 4.6
parent 31bbefee33
commit e26634c03c
7 changed files with 31 additions and 35 deletions
-1
View File
@@ -239,4 +239,3 @@ fn test_import_existing_program() {
.assert()
.success();
}