Skip to content

Commit 883eabb

Browse files
unhappychoiceclaude
andcommitted
style: apply cargo fmt formatting
Remove trailing whitespace from countdown pause implementation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f274c48 commit 883eabb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/game/screens/typing_screen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ impl TypingScreen {
333333
if self.dialog_shown {
334334
return false;
335335
}
336-
336+
337337
if let (Some(start_time), Some(current_num)) =
338338
(self.countdown_start_time, self.countdown_number)
339339
{
@@ -480,7 +480,7 @@ impl TypingScreen {
480480
fn open_dialog(&mut self) {
481481
self.dialog_shown = true;
482482
self.stage_tracker.record(StageInput::Pause);
483-
483+
484484
// Pause countdown timer if active
485485
if self.countdown_active && self.countdown_pause_time.is_none() {
486486
self.countdown_pause_time = Some(std::time::Instant::now());
@@ -490,7 +490,7 @@ impl TypingScreen {
490490
fn close_dialog(&mut self) {
491491
self.dialog_shown = false;
492492
self.stage_tracker.record(StageInput::Resume);
493-
493+
494494
// Resume countdown timer if paused
495495
if let Some(pause_time) = self.countdown_pause_time.take() {
496496
self.countdown_total_paused += pause_time.elapsed();

0 commit comments

Comments
 (0)