Fix: all clippy warns
This commit is contained in:
1 parent
a6d9ed216d
commit
de7b3aa2ea
21 files changed
+35
-53
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user