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 unused imports

Joseph T. Lyons5dc3369cf6f3
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index a32c95d3e6d..5f2a7c525e0 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -3,7 +3,7 @@
use anyhow::{anyhow, Context, Result};
use backtrace::Backtrace;
-use chrono::{DateTime, Utc};
+use chrono::Utc;
use cli::FORCE_CLI_MODE_ENV_VAR_NAME;
use client::{
self, Client, TelemetrySettings, UserStore, ZED_APP_VERSION, ZED_SECRET_CLIENT_TOKEN,
@@ -35,7 +35,6 @@ use std::{
Arc, Weak,
},
thread,
- time::{SystemTime, UNIX_EPOCH},
};
use util::{
channel::{parse_zed_link, ReleaseChannel},
diff --git a/crates/zed2/src/main.rs b/crates/zed2/src/main.rs
index c32b335ca34..5d04e49216d 100644
--- a/crates/zed2/src/main.rs
+++ b/crates/zed2/src/main.rs
@@ -6,7 +6,7 @@
use anyhow::{anyhow, Context as _, Result};
use backtrace::Backtrace;
-use chrono::{DateTime, Utc};
+use chrono::Utc;
use cli::FORCE_CLI_MODE_ENV_VAR_NAME;
use client::UserStore;
use db::kvp::KEY_VALUE_STORE;
@@ -39,7 +39,6 @@ use std::{
Arc,
},
thread,
- time::{SystemTime, UNIX_EPOCH},
};
use theme::ActiveTheme;
use util::{