Fix formatting and minor restructuring
Fixed formatting using cargo fmt. Change some parser structure to reduce code deduplication
This commit is contained in:
@@ -83,9 +83,7 @@ impl EntityContext {
|
||||
let result = decoder.decode(bitreader, qf_mapper)?;
|
||||
|
||||
if let Some(fi) = field_info {
|
||||
if let Some(prop_info) = prop_controller
|
||||
.prop_infos.get(&fi.prop_id)
|
||||
{
|
||||
if let Some(prop_info) = prop_controller.prop_infos.get(&fi.prop_id) {
|
||||
fields.push(EntityProp {
|
||||
field_info: fi,
|
||||
prop_info: prop_info.clone(),
|
||||
|
||||
Reference in New Issue
Block a user