From 5768b56028c14fea7fabcc038125146f890bbb39 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 1 Nov 2023 11:33:38 +0000 Subject: [PATCH] Fix unused warning --- tracker/agb-midi-core/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracker/agb-midi-core/src/lib.rs b/tracker/agb-midi-core/src/lib.rs index f71079b5..f39e2f83 100644 --- a/tracker/agb-midi-core/src/lib.rs +++ b/tracker/agb-midi-core/src/lib.rs @@ -10,7 +10,7 @@ use syn::{ struct MidiCoreInput { sf2_file: LitStr, - comma: Token![,], + _comma: Token![,], midi_file: LitStr, } @@ -18,7 +18,7 @@ impl Parse for MidiCoreInput { fn parse(input: ParseStream) -> syn::Result { Ok(Self { sf2_file: input.parse()?, - comma: input.parse()?, + _comma: input.parse()?, midi_file: input.parse()?, }) }