🎨 Colapsa if anidados sugeridos por clippy

This commit is contained in:
Manuel Cillero 2026-08-05 13:07:35 +02:00
parent 1cab0ae9a0
commit 502c00c891
5 changed files with 29 additions and 29 deletions

View file

@ -158,10 +158,10 @@ fn collect_resources_nested<P: AsRef<Path>>(
let entry = entry?;
let path = entry.path();
if let Some(ref filter) = filter {
if !filter(path.as_ref()) {
continue;
}
if let Some(ref filter) = filter
&& !filter(path.as_ref())
{
continue;
}
if path.is_dir() {