From e9bd89c8a557687e80e483db268ac47aba561e9c Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Fri, 17 Jun 2022 13:12:54 -0500 Subject: [PATCH] Client index is public --- src/controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.rs b/src/controller.rs index 4bd41b6..9d56d85 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -15,7 +15,7 @@ pub struct Server { } pub struct Client { - idx: usize, + pub idx: usize, tx: Sender, rx: Receiver, info: Sender<(usize, M)>,