1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Address warning: "unneeded return statement"

This commit is contained in:
The Dax 2025-06-23 14:11:47 -04:00 committed by Joshua Goins
parent 89aee8e5d8
commit 32d978d82b

View file

@ -20,7 +20,7 @@ impl ChatHandler {
}
let parts: Vec<&str> = chat_message.message.split(' ').collect();
return match parts[0] {
match parts[0] {
"!spawnnpc" => {
connection
.handle
@ -93,6 +93,6 @@ impl ChatHandler {
true
}
_ => false,
};
}
}
}