style: cargo fmt rojo_ref.rs

This commit is contained in:
Joe 2026-03-12 21:06:47 -05:00
parent 122602df8a
commit 74f7ce26ec

View file

@ -402,10 +402,7 @@ impl RefPathIndex {
.into_iter() .into_iter()
.filter_map(|e: Result<walkdir::DirEntry, _>| e.ok()) .filter_map(|e: Result<walkdir::DirEntry, _>| e.ok())
.filter(|e: &walkdir::DirEntry| { .filter(|e: &walkdir::DirEntry| {
e.file_type().is_file() e.file_type().is_file() && e.file_name().to_str().is_some_and(is_meta_or_model_name)
&& e.file_name()
.to_str()
.is_some_and(is_meta_or_model_name)
}) })
.map(|e: walkdir::DirEntry| e.into_path()) .map(|e: walkdir::DirEntry| e.into_path())
.collect(); .collect();