1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2021-07-17 15:37:15 +02:00
commit 5573ec5db2
8 changed files with 42 additions and 58 deletions

View file

@ -117,8 +117,8 @@ impl ParseSendTable {
Ok(ParseSendTable {
name,
needs_decoder,
props,
needs_decoder,
})
}
}
@ -184,7 +184,7 @@ impl ParseSendTable {
.iter()
.filter(|prop| !prop.is_exclude())
.filter(|prop| !excludes.iter().any(|exclude| *exclude == prop.identifier()))
.map(|prop| {
.try_for_each(|prop| {
if let Some(table) = prop.get_data_table(tables) {
if prop.flags.contains(SendPropFlag::Collapsible) {
table.get_all_props_iterator_props(tables, excludes, local_props, props)?;
@ -196,8 +196,6 @@ impl ParseSendTable {
}
Ok(())
})
.collect::<Result<()>>()?;
Ok(())
}
}