Skip to content

Commit 4887f11

Browse files
committed
remove warning
1 parent d00801d commit 4887f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/notation_midi/src/wasm/midi_synth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ impl MidiSynth {
2323
pub fn send(&self, speed: &PlaySpeed, msg: &MidiMessage, velocity: u8) -> Result<(), String> {
2424
match msg.midi {
2525
StructuredShortMessage::NoteOff {
26-
channel,
27-
key_number,
26+
channel: _,
27+
key_number: _,
2828
velocity: _,
2929
} => Ok(()),
3030
StructuredShortMessage::NoteOn {

0 commit comments

Comments
 (0)