typo fixed

This commit is contained in:
oilcake
2025-03-09 18:07:46 +03:00
committed by Robbert van der Helm
parent 18ec34e916
commit 17ba595e74

View File

@@ -435,7 +435,7 @@ impl Plugin for PolyModSynth {
impl PolyModSynth { impl PolyModSynth {
/// Get the index of a voice by its voice ID, if the voice exists. This does not immediately /// Get the index of a voice by its voice ID, if the voice exists. This does not immediately
/// reutnr a reference to the voice to avoid lifetime issues. /// return a reference to the voice to avoid lifetime issues.
fn get_voice_idx(&mut self, voice_id: i32) -> Option<usize> { fn get_voice_idx(&mut self, voice_id: i32) -> Option<usize> {
self.voices self.voices
.iter_mut() .iter_mut()