Fix unused warning

This commit is contained in:
Gwilym Inzani 2023-11-01 11:33:38 +00:00
parent 797fc8394f
commit 5768b56028

View file

@ -10,7 +10,7 @@ use syn::{
struct MidiCoreInput { struct MidiCoreInput {
sf2_file: LitStr, sf2_file: LitStr,
comma: Token![,], _comma: Token![,],
midi_file: LitStr, midi_file: LitStr,
} }
@ -18,7 +18,7 @@ impl Parse for MidiCoreInput {
fn parse(input: ParseStream) -> syn::Result<Self> { fn parse(input: ParseStream) -> syn::Result<Self> {
Ok(Self { Ok(Self {
sf2_file: input.parse()?, sf2_file: input.parse()?,
comma: input.parse()?, _comma: input.parse()?,
midi_file: input.parse()?, midi_file: input.parse()?,
}) })
} }