Skip to content
Snippets Groups Projects
Verified Commit 1452f6f5 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: clippy issues

parent f4c0f54a
No related branches found
No related tags found
No related merge requests found
Pipeline #2746 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment