From 6c3551bff1066fa6b3ee5be466dea0b8d3f2ccfd Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 8 Sep 2021 17:09:02 +0200 Subject: [PATCH] Use `watch::Sender::borrow_mut` instead of `send` Co-Authored-By: Nathan Sobo --- zed/src/chat_panel.rs | 6 +++--- zed/src/rpc.rs | 21 ++++++++------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/zed/src/chat_panel.rs b/zed/src/chat_panel.rs index ab38f64169731975c598dbac8975435a8b2520c9..a4b7eb5938d48a523638abc9973e2cea19b5755e 100644 --- a/zed/src/chat_panel.rs +++ b/zed/src/chat_panel.rs @@ -31,7 +31,7 @@ pub struct ChatPanel { channel_select: ViewHandle