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

Self-Review Checklist:

- [ ] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...
This commit is contained in:
Piotr Osiewicz 2026-05-11 19:50:24 +02:00 committed by GitHub
parent c19eaab7fa
commit 8681fd713e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();