Move RpcClient to zed_rpc and rename it to Peer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
5e4872fdf8
commit
9de4d73ffb
+2
-4
@@ -1,6 +1,4 @@
|
||||
use crate::{
|
||||
language::LanguageRegistry, rpc_client::RpcClient, settings, time::ReplicaId, AppState,
|
||||
};
|
||||
use crate::{language::LanguageRegistry, settings, time::ReplicaId, AppState};
|
||||
use ctor::ctor;
|
||||
use gpui::AppContext;
|
||||
use rand::Rng;
|
||||
@@ -152,6 +150,6 @@ pub fn build_app_state(cx: &AppContext) -> AppState {
|
||||
AppState {
|
||||
settings,
|
||||
language_registry,
|
||||
rpc_client: RpcClient::new(),
|
||||
rpc: zed_rpc::Peer::new(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user