mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
Applied a number of clippy suggestions
This commit is contained in:
parent
810ca452b0
commit
7d5edd9de8
5 changed files with 9 additions and 13 deletions
|
|
@ -168,7 +168,7 @@ impl RawGameEvent {
|
|||
pub fn read(stream: &mut Stream, definition: &GameEventDefinition) -> Result<Self> {
|
||||
let mut values: Vec<GameEventValue> = Vec::with_capacity(definition.entries.len());
|
||||
for entry in &definition.entries {
|
||||
values.push(read_event_value(stream, &entry)?);
|
||||
values.push(read_event_value(stream, entry)?);
|
||||
}
|
||||
|
||||
Ok(RawGameEvent {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue