Removed unnecessary semicolons
This commit is contained in:
parent
cdbdaed362
commit
efdc800550
@ -335,7 +335,7 @@ fn handle_connection(
|
|||||||
}
|
}
|
||||||
"mp3" | "wav" => reply_binary(stream, &relative_path, "audio", &ending, path),
|
"mp3" | "wav" => reply_binary(stream, &relative_path, "audio", &ending, path),
|
||||||
_ => fail(stream),
|
_ => fail(stream),
|
||||||
};
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -544,7 +544,7 @@ fn handle_relative_connection(
|
|||||||
} else {
|
} else {
|
||||||
pki_path.push(format!("{relative_path}/{entry}.{pki_extension}"));
|
pki_path.push(format!("{relative_path}/{entry}.{pki_extension}"));
|
||||||
audio_path.push(format!("{relative_path}/{entry}.mp3"));
|
audio_path.push(format!("{relative_path}/{entry}.mp3"));
|
||||||
};
|
}
|
||||||
|
|
||||||
let Ok(file) = File::open(pki_path) else {
|
let Ok(file) = File::open(pki_path) else {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user