From 074a22f2d962b943a75b2fc240de795d2190edf3 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 5 Apr 2021 18:49:41 +0200 Subject: [PATCH] Typo. --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1ce5c57..28218f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,6 +82,7 @@ fn main() { std::process::exit(1); }); + // Enter main loop. loop { // Process received signals. match signal.swap(0, Ordering::Relaxed) { @@ -176,6 +177,7 @@ fn main() { buffer_updated = true; } }, + // Any other key. _ => (), } } @@ -190,7 +192,7 @@ fn main() { let elapsed = if clock.paused { clock.elapsed } else { - // Should never owerflow as we reestablish a new "start" + // Should never overflow as we reestablish a new "start" // instant every 24 hours. clock.start.elapsed().as_secs() as u32 };