mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
style: cargo fmt rojo_ref.rs
This commit is contained in:
parent
122602df8a
commit
74f7ce26ec
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue