mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 18:24:09 +02:00
move param parsers from IResult to Result
This commit is contained in:
parent
acf70c03d4
commit
b138798b53
4 changed files with 33 additions and 72 deletions
|
|
@ -54,7 +54,7 @@ impl Derivable for Event {
|
|||
};
|
||||
|
||||
Ok(quote_spanned!(
|
||||
field_name.span() => #param_name => event.#field_name = parse_field(value)?.1
|
||||
field_name.span() => #param_name => event.#field_name = parse_field(value)?
|
||||
))
|
||||
})
|
||||
.collect::<Result<Vec<_>>>()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue