mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Fix unused warning
This commit is contained in:
parent
797fc8394f
commit
5768b56028
|
@ -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()?,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue