From efdc80055012c425fa5bb17e2dfc008186715da6 Mon Sep 17 00:00:00 2001 From: p11 Date: Mon, 7 Apr 2025 00:07:23 +0200 Subject: [PATCH] Removed unnecessary semicolons --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5fa5e3d..7309df9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -335,7 +335,7 @@ fn handle_connection( } "mp3" | "wav" => reply_binary(stream, &relative_path, "audio", &ending, path), _ => fail(stream), - }; + } return; } @@ -544,7 +544,7 @@ fn handle_relative_connection( } else { pki_path.push(format!("{relative_path}/{entry}.{pki_extension}")); audio_path.push(format!("{relative_path}/{entry}.mp3")); - }; + } let Ok(file) = File::open(pki_path) else { return;