diff --git a/ctru-rs/examples/audio_filters.rs b/ctru-rs/examples/audio_filters.rs index c0602a0..c42e1af 100644 --- a/ctru-rs/examples/audio_filters.rs +++ b/ctru-rs/examples/audio_filters.rs @@ -43,7 +43,7 @@ fn main() { [0u8; AUDIO_WAVE_LENGTH], LinearAllocator, ); - fill_buffer(&mut audioBuffer[..], NOTEFREQ[4]); + fill_buffer(&mut audioBuffer, NOTEFREQ[4]); let audioBuffer1 = WaveBuffer::new(audioBuffer, AudioFormat::PCM16Stereo).expect("Couldn't sync DSP cache");