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 unused warning in time_format

Dzmitry Malyshau76196694b7b2
diff --git a/crates/time_format/src/time_format.rs b/crates/time_format/src/time_format.rs
index a31d9bda78f..0084802aaef 100644
--- a/crates/time_format/src/time_format.rs
+++ b/crates/time_format/src/time_format.rs
@@ -1,4 +1,3 @@
-use anyhow::Result;
use lazy_static::lazy_static;
use time::{OffsetDateTime, UtcOffset};
@@ -129,7 +128,7 @@ fn is_12_hour_time_by_locale(locale: &str) -> bool {
#[cfg(target_os = "macos")]
mod macos {
- use super::*;
+ use anyhow::Result;
use core_foundation::base::TCFType;
use core_foundation::date::CFAbsoluteTime;
use core_foundation::string::CFString;