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.

Delete unused imports

Antonio Scandurraa93583065b03
diff --git a/crates/ai/src/diff.rs b/crates/ai/src/diff.rs
index c68f9b3d5db..b6e25e06244 100644
--- a/crates/ai/src/diff.rs
+++ b/crates/ai/src/diff.rs
@@ -1,11 +1,8 @@
use std::{
- cmp,
fmt::{self, Debug},
ops::Range,
};
-use collections::BinaryHeap;
-
struct Matrix {
cells: Vec<isize>,
rows: usize,
diff --git a/crates/ai/src/refactor.rs b/crates/ai/src/refactor.rs
index d68d8ce4eda..245e59a4643 100644
--- a/crates/ai/src/refactor.rs
+++ b/crates/ai/src/refactor.rs
@@ -7,8 +7,7 @@ use gpui::{
WeakViewHandle,
};
use menu::Confirm;
-use similar::{Change, ChangeTag, TextDiff};
-use std::{env, iter, ops::Range, sync::Arc};
+use std::{env, sync::Arc};
use util::TryFutureExt;
use workspace::{Modal, Workspace};