diff --git a/wayshot/src/wayshot.rs b/wayshot/src/wayshot.rs index b17c0b52..9fac733b 100644 --- a/wayshot/src/wayshot.rs +++ b/wayshot/src/wayshot.rs @@ -139,7 +139,7 @@ fn main() -> Result<()> { match unsafe { fork() } { // Having the image persistently available on the clipboard requires a wayshot process to be alive. // Fork the process with a child detached from the main process and have the parent exit - Ok(ForkResult::Parent{..}) => { + Ok(ForkResult::Parent { .. }) => { return Ok(()); } Ok(ForkResult::Child) => {