From 99fa3fb87399f349917bc53a3d64350c2d08539c Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Fri, 13 Dec 2024 15:32:37 +0200 Subject: [PATCH] reformat code --- src/emulator.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/emulator.rs b/src/emulator.rs index 94f783b..ffe02cd 100644 --- a/src/emulator.rs +++ b/src/emulator.rs @@ -1030,7 +1030,7 @@ mod tests { #[test] fn test_handle_timers_beep() { struct TestSound { - did_beep: bool + did_beep: bool, } impl SoundModule for TestSound { @@ -1039,8 +1039,11 @@ mod tests { } } - - let mut emulator = Emulator::new(TerminalDisplay::new(), TestSound { did_beep: false }, NoInput); + let mut emulator = Emulator::new( + TerminalDisplay::new(), + TestSound { did_beep: false }, + NoInput, + ); emulator.sound_timer = 0; emulator.handle_timers();