From 568fb909c0cf61c1c8153c3f0daf9054200ee12b Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Sat, 21 May 2022 22:59:35 -0400 Subject: [PATCH] Grammar + Line Separators --- src-tauri/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index ce34fee..b20405d 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -57,7 +57,7 @@ fn process_watcher() { // If it is not, then we assume the game has closed and disable the proxy // to prevent any requests from being sent to the game. - // Start in thread so as to not block the main thread. + // Start a thread so as to not block the main thread. thread::spawn(|| { let mut s = System::new_all(); @@ -83,7 +83,7 @@ fn process_watcher() { disconnect(); } } - std::thread::sleep(std::time::Duration::from_secs(5)); + thread::sleep(std::time::Duration::from_secs(5)); } }); }