fix: removed useless mut

This commit is contained in:
əlemi 2022-09-08 00:18:48 +02:00
parent 911ed4e212
commit 57dc0b25e9

View file

@ -84,8 +84,8 @@ impl Drop for Workspace {
impl Workspace { impl Workspace {
pub fn new(name: String) -> Self { pub fn new(name: String) -> Self {
let (op_buf_tx, mut op_buf_rx) = mpsc::channel::<BufferAction>(32); let (op_buf_tx, op_buf_rx) = mpsc::channel::<BufferAction>(32);
let (op_usr_tx, mut op_usr_rx) = mpsc::channel::<UserAction>(32); let (op_usr_tx, op_usr_rx) = mpsc::channel::<UserAction>(32);
let (run_tx, run_rx) = watch::channel::<bool>(true); let (run_tx, run_rx) = watch::channel::<bool>(true);
let (buffer_tx, buffer_rx) = watch::channel::<HashMap<String, BufferView>>(HashMap::new()); let (buffer_tx, buffer_rx) = watch::channel::<HashMap<String, BufferView>>(HashMap::new());
let (users_tx, users_rx) = watch::channel(HashMap::new()); let (users_tx, users_rx) = watch::channel(HashMap::new());