1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

use more optimized way to store things in state

This commit is contained in:
Robin Appelman 2019-08-29 16:47:32 +02:00
commit 33b8d76e88
5 changed files with 55 additions and 8 deletions

View file

@ -34,7 +34,7 @@ impl MessageHandler for SendPropAnalyser {
state
.send_tables
.into_iter()
.map(|(_, v)| ParseSendTable {
.map(|v| ParseSendTable {
name: v.name,
props: v.props,
needs_decoder: v.needs_decoder,