diff options
Diffstat (limited to 'planetwars-matchrunner/src/match_log.rs')
-rw-r--r-- | planetwars-matchrunner/src/match_log.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-matchrunner/src/match_log.rs b/planetwars-matchrunner/src/match_log.rs index 9991f99..30751fd 100644 --- a/planetwars-matchrunner/src/match_log.rs +++ b/planetwars-matchrunner/src/match_log.rs @@ -29,7 +29,7 @@ pub async fn create_log_sink(log_file_path: &Path) -> MatchLogger { .await .expect("Could not create log file"); tokio::spawn(run_log_sink(rx, log_file)); - return tx; + tx } async fn run_log_sink(mut rx: mpsc::UnboundedReceiver<MatchLogMessage>, mut file: File) { |