Fix: all clippy warns

This commit is contained in:
Alexander Medvedev committed 2024-08-19 20:08:02 +01:00
1 parent a6d9ed216d
commit de7b3aa2ea
21 files changed
+35 -53

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ impl<'a> Command<'a> for StopCommand {
const NAME: &'static str = "stop";
const DESCRIPTION: &'static str = "Stops the server";
fn on_execute(sender: &mut super::CommandSender<'a>, command: String) {
fn on_execute(_sender: &mut super::CommandSender<'a>, _command: String) {
std::process::exit(0);
}
fn player_required() -> bool {