diff --git a/desktop/src/gui.rs b/desktop/src/gui.rs index 98bc397464e4..f187d005eb4f 100644 --- a/desktop/src/gui.rs +++ b/desktop/src/gui.rs @@ -240,7 +240,7 @@ impl RuffleGui { player.set_volume(self.volume_controls.get_volume()); } - pub fn set_taking_screenshot(&mut self, bool state) { + pub fn set_taking_screenshot(&mut self, state: bool) { self.taking_screenshot = state; }