Inline redundant variable

This commit is contained in:
Hanno Braun 2024-10-29 17:55:07 +01:00
parent cfbe58d55f
commit f1101c20d6

View File

@ -25,11 +25,10 @@ impl Layer<Topology> {
); );
for event in events { for event in events {
let command = ValidateObject { validation.process_command(ValidateObject {
object: event.object.into(), object: event.object.into(),
geometry, geometry,
}; });
validation.process_command(command);
} }
} }
} }