Move Arc outside of rpc::Client

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2021-08-19 12:56:50 -07:00
parent 3631fbd874
commit 86c819757d
6 changed files with 45 additions and 33 deletions

View file

@ -312,7 +312,7 @@ pub struct State {
pub struct Workspace {
pub settings: watch::Receiver<Settings>,
languages: Arc<LanguageRegistry>,
rpc: rpc::Client,
rpc: Arc<rpc::Client>,
fs: Arc<dyn Fs>,
modal: Option<AnyViewHandle>,
center: PaneGroup,