From 5e78612b3cc62e5a5bf08dd1b0847da51dc2167a Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Wed, 4 Jan 2023 19:03:39 +0100 Subject: [PATCH] Clippy --- ctru-rs/src/services/ndsp/wave.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/ndsp/wave.rs b/ctru-rs/src/services/ndsp/wave.rs index 8c34dc6..cf12e57 100644 --- a/ctru-rs/src/services/ndsp/wave.rs +++ b/ctru-rs/src/services/ndsp/wave.rs @@ -84,7 +84,7 @@ impl<'b> WaveInfo<'b> { } pub fn get_mut_wavebuffer(&mut self) -> &mut WaveBuffer { - &mut self.buffer + self.buffer } pub fn get_status(&self) -> WaveStatus {