From 57dc0b25e9b895f22d897e43315a041366f6bb2c Mon Sep 17 00:00:00 2001 From: alemidev Date: Thu, 8 Sep 2022 00:18:48 +0200 Subject: [PATCH] fix: removed useless mut --- src/server/actor/workspace.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/actor/workspace.rs b/src/server/actor/workspace.rs index 4df610d..5b19890 100644 --- a/src/server/actor/workspace.rs +++ b/src/server/actor/workspace.rs @@ -84,8 +84,8 @@ impl Drop for Workspace { impl Workspace { pub fn new(name: String) -> Self { - let (op_buf_tx, mut op_buf_rx) = mpsc::channel::(32); - let (op_usr_tx, mut op_usr_rx) = mpsc::channel::(32); + let (op_buf_tx, op_buf_rx) = mpsc::channel::(32); + let (op_usr_tx, op_usr_rx) = mpsc::channel::(32); let (run_tx, run_rx) = watch::channel::(true); let (buffer_tx, buffer_rx) = watch::channel::>(HashMap::new()); let (users_tx, users_rx) = watch::channel(HashMap::new());