style: apply rustfmt across workspace
Some checks failed
CI / test (pull_request) Failing after 5m30s
CI / clippy (pull_request) Failing after 5m2s
CI / fmt (pull_request) Successful in 26s

This commit is contained in:
2026-03-15 20:02:12 +01:00
parent 1e233aba4b
commit 2feb3a2d96
15 changed files with 493 additions and 109 deletions

View File

@@ -76,11 +76,7 @@ impl Plugin for FilesPlugin {
let full_path = entry.path();
let name = entry.file_name().to_string_lossy().to_string();
let is_dir = full_path.is_dir();
let title = if is_dir {
format!("{name}/")
} else {
name
};
let title = if is_dir { format!("{name}/") } else { name };
let path_str = full_path.to_string_lossy().to_string();
SearchResult {
id: ResultId::new(format!("file-{i}")),