diff --git a/src/apu.rs b/src/apu.rs index 427e060910968250e6c5fe95fa928bc5e3304478..3fda82acb6da0cdd8ecfc9aba1ce4b942ca3aaa1 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -599,7 +599,7 @@ impl Apu { } pub fn ch1_enabled(&mut self) -> bool { - return self.ch1_out_enabled; + self.ch1_out_enabled } pub fn set_ch1_enabled(&mut self, enabled: bool) { @@ -607,7 +607,7 @@ impl Apu { } pub fn ch2_enabled(&mut self) -> bool { - return self.ch2_out_enabled; + self.ch2_out_enabled } pub fn set_ch2_enabled(&mut self, enabled: bool) { @@ -615,7 +615,7 @@ impl Apu { } pub fn ch3_enabled(&mut self) -> bool { - return self.ch3_out_enabled; + self.ch3_out_enabled } pub fn set_ch3_enabled(&mut self, enabled: bool) { @@ -623,7 +623,7 @@ impl Apu { } pub fn ch4_enabled(&mut self) -> bool { - return self.ch4_out_enabled; + self.ch4_out_enabled } pub fn set_ch4_enabled(&mut self, enabled: bool) {