diff --git a/tracker/agb-midi-core/src/lib.rs b/tracker/agb-midi-core/src/lib.rs index cc62b11a..d68d4d39 100644 --- a/tracker/agb-midi-core/src/lib.rs +++ b/tracker/agb-midi-core/src/lib.rs @@ -144,7 +144,9 @@ pub fn parse_midi(midi_info: &MidiInfo) -> TokenStream { Format::SingleTrack, "Only single track is currently supported" ); - let Timing::Metrical(timing) = midi.header.timing else { panic!("Only metrical timing is currently supported") }; + let Timing::Metrical(timing) = midi.header.timing else { + panic!("Only metrical timing is currently supported") + }; let ticks_per_beat = timing.as_int(); let mut channel_data = vec![];