Fix Clippy lints
This commit is contained in:
@@ -89,7 +89,7 @@ pub fn remote_game_view(
|
||||
has_started,
|
||||
..
|
||||
}) => {
|
||||
alert(&format!("Joined room {}", room_name));
|
||||
alert(&format!("Joined room {room_name}"));
|
||||
is_started.set(has_started);
|
||||
}
|
||||
Ok(ServerMessage::PlayerTurn(player_id)) => {
|
||||
@@ -97,7 +97,7 @@ pub fn remote_game_view(
|
||||
is_started.set(true);
|
||||
}
|
||||
r => {
|
||||
alert(&format!("{:?}", r));
|
||||
alert(&format!("{r:?}"));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user