Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

cloud_api_client: Make `cloud_host` method public (#61345)

Marshall Bowers7fe1c144d619
diff --git a/crates/cloud_api_client/src/cloud_api_client.rs b/crates/cloud_api_client/src/cloud_api_client.rs
index aab5f3b60da..d9e584e3131 100644
--- a/crates/cloud_api_client/src/cloud_api_client.rs
+++ b/crates/cloud_api_client/src/cloud_api_client.rs
@@ -87,7 +87,7 @@ impl CloudApiClient {
*self.credentials.write() = None;
}
- fn cloud_host(&self) -> String {
+ pub fn cloud_host(&self) -> String {
self.http_client
.build_zed_cloud_url("/")
.ok()