1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-09 15:37:45 +00:00

Address "warning: this expression borrows a value the compiler would automatically borrow"

This commit is contained in:
The Dax 2025-07-04 10:41:43 -04:00 committed by Joshua Goins
parent b3b7b2e57f
commit 57b90ca3dd

View file

@ -561,7 +561,7 @@ async fn client_loop(
if connection.player_data.gm_rank as u8 >= required_rank? {
let mut func_args = Vec::new();
if parts.len() > 1 {
func_args = (&parts[1..]).to_vec();
func_args = (parts[1..]).to_vec();
tracing::info!("Args passed to Lua command {}: {:?}", command_name, func_args);
} else {
tracing::info!("No additional args passed to Lua command {}.", command_name);