mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 18:24:09 +02:00
handlers are now infalible
This commit is contained in:
parent
a5040ec355
commit
5be2b0a473
7 changed files with 101 additions and 204 deletions
|
|
@ -74,6 +74,5 @@ pub fn medic_death_event_parser(input: &str) -> IResult<&str, MedicDeathEvent> {
|
|||
charge = Some(quoted(u_int)(value)?.1);
|
||||
}
|
||||
}
|
||||
let (input, time) = opt(param_parse_with("time", quoted(float)))(input)?;
|
||||
Ok((input, MedicDeathEvent { charge }))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue