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.

Fix semantic merge conflict (#45078)

Lukas Wirthedcde6d90c4a
diff --git a/crates/project/src/trusted_worktrees.rs b/crates/project/src/trusted_worktrees.rs
index d9f5d4a7a43..9f849ceaf1d 100644
--- a/crates/project/src/trusted_worktrees.rs
+++ b/crates/project/src/trusted_worktrees.rs
@@ -223,7 +223,7 @@ impl From<RemoteConnectionOptions> for RemoteHostLocation {
let (user_name, host_name) = match options {
RemoteConnectionOptions::Ssh(ssh) => (
ssh.username.map(SharedString::new),
- SharedString::new(ssh.host),
+ SharedString::new(ssh.host.to_string()),
),
RemoteConnectionOptions::Wsl(wsl) => (
wsl.user.map(SharedString::new),