simplify map
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user