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.

Remove extra space in `zed --version` string for non-stable (#24254)

Michael Sloanfef567bb4984
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index c6562ea64ab..b3436bc4e53 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -343,7 +343,7 @@ mod linux {
if *RELEASE_CHANNEL == "stable" {
"".to_string()
} else {
- format!(" {} ", *RELEASE_CHANNEL)
+ format!("{} ", *RELEASE_CHANNEL)
},
option_env!("RELEASE_VERSION").unwrap_or_default(),
self.0.display(),