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.

fs: Remove unused import (#9344)

Piotr Osiewicz5f02ef701de7
diff --git a/crates/fs/src/fs.rs b/crates/fs/src/fs.rs
index 0282dd3b460..9bf67013ece 100644
--- a/crates/fs/src/fs.rs
+++ b/crates/fs/src/fs.rs
@@ -11,7 +11,9 @@ use git2::Repository as LibGitRepository;
use parking_lot::Mutex;
use repository::GitRepository;
use rope::Rope;
-use smol::io::{AsyncReadExt, AsyncWriteExt};
+#[cfg(any(test, feature = "test-support"))]
+use smol::io::AsyncReadExt;
+use smol::io::AsyncWriteExt;
use std::io::Write;
use std::sync::Arc;
use std::{