mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-10 16:07:45 +00:00
Address "warning: this expression borrows a value the compiler would automatically borrow"
This commit is contained in:
parent
b3b7b2e57f
commit
57b90ca3dd
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ async fn client_loop(
|
||||||
if connection.player_data.gm_rank as u8 >= required_rank? {
|
if connection.player_data.gm_rank as u8 >= required_rank? {
|
||||||
let mut func_args = Vec::new();
|
let mut func_args = Vec::new();
|
||||||
if parts.len() > 1 {
|
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);
|
tracing::info!("Args passed to Lua command {}: {:?}", command_name, func_args);
|
||||||
} else {
|
} else {
|
||||||
tracing::info!("No additional args passed to Lua command {}.", command_name);
|
tracing::info!("No additional args passed to Lua command {}.", command_name);
|
||||||
|
|
Loading…
Add table
Reference in a new issue