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.

client: Cleanup superfluous dbg! left over from #56440 (#56457)

Piotr Osiewicz8681fd713e0b
diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rs
index b68de9442ee..ab9e1643fc9 100644
--- a/crates/client/src/telemetry.rs
+++ b/crates/client/src/telemetry.rs
@@ -127,12 +127,8 @@ pub fn os_version() -> String {
"test binary".to_owned()
}
target_os = "macos" => {
- #[cfg(target_os = "macos")]
static MACOS_VERSION_REGEX: LazyLock<Regex> = LazyLock::new(|| {
- let regex_compilation = std::time::Instant::now();
- let r = Regex::new(r"(\s*\(Build [^)]*[0-9]\))").unwrap();
- dbg!(regex_compilation.elapsed());
- r
+ Regex::new(r"(\s*\(Build [^)]*[0-9]\))").unwrap()
});
use objc2_foundation::NSProcessInfo;
let process_info = NSProcessInfo::processInfo();