1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00
This commit is contained in:
Robin Appelman 2021-07-11 16:06:44 +02:00
commit 5547e31810
3 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ impl fmt::Display for PacketEntity {
}
impl PacketEntity {
fn get_prop_by_identifier(&mut self, index: &SendPropIdentifier) -> Option<&mut SendProp> {
pub fn get_prop_by_identifier(&mut self, index: &SendPropIdentifier) -> Option<&mut SendProp> {
self.props.iter_mut().find(|prop| prop.index == *index)
}