iresult->result in more places

This commit is contained in:
Robin Appelman 2023-03-11 23:00:27 +01:00
commit 1522bd2648
6 changed files with 20 additions and 25 deletions

View file

@ -75,14 +75,14 @@ impl Derivable for Event {
Ok(
quote_spanned!(span => impl #impl_generics Event<#lifetime> for #struct_ident #ty_generics #where_clause {
fn parse(input: & #lifetime str) -> IResult<Self> {
fn parse(input: & #lifetime str) -> Result<Self> {
#(#required_fields)*
#initiator
#update
Ok(("", event))
Ok(event)
}
}
),