gameServer2/src/server/actions.rs
changeset 12853 a9d105dc5c95
parent 12852 bd35cb2302b3
child 13119 1e39b8749072
--- a/gameServer2/src/server/actions.rs	Wed Dec 06 23:46:17 2017 +0100
+++ b/gameServer2/src/server/actions.rs	Sat Dec 16 22:58:28 2017 +0100
@@ -27,7 +27,7 @@
         SendMe(msg) =>
             server.send(token, &msg),
         SendAllButMe(msg) => {
-            for (i, c) in server.clients.iter_mut() {
+            for (_i, c) in server.clients.iter_mut() {
                 if c.id != token {
                     c.send_string(&msg)
                 }