From 5c19ddb06cf7a677182bac0a0d6b4f72ec9a1e95 Mon Sep 17 00:00:00 2001 From: Cedric Hutchings Date: Sat, 29 Jun 2019 17:56:10 -0500 Subject: [PATCH] fmt --- server/src/cmd.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/server/src/cmd.rs b/server/src/cmd.rs index 8dfee8b24c..1f71dc149e 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -299,18 +299,19 @@ fn handle_players(server: &mut Server, entity: EcsEntity, _args: String, _action if count > 0 { let mut player_iter = players.join(); let first = player_iter.next().unwrap().alias.to_owned(); - let player_list = player_iter - .fold(first, |s, p| { - s += ",\n"; - s += &p.alias; - s - }); + let player_list = player_iter.fold(first, |s, p| { + s += ",\n"; + s += &p.alias; + s + }); server .clients .notify(entity, ServerMsg::Chat(header_message + &player_list)); } else { - server.clients.notify(entity, ServerMsg::Chat(header_message)); + server + .clients + .notify(entity, ServerMsg::Chat(header_message)); } }