simplify map

This commit is contained in:
Lionarius
2023-04-26 11:41:03 +03:00
parent bcf63e6ab7
commit d57206973e

View File

@@ -263,7 +263,7 @@ impl LobbyCommand {
let players = players
.into_iter()
.map(|p| Player::new(p))
.map(Player::new)
.collect::<Vec<Player>>();
let slots = vec![
Role::Tank,