From 5f02ef701de77914224a14c3078d6898dd6fd0a6 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:55:32 +0100 Subject: [PATCH] fs: Remove unused import (#9344) Followup to #9341 as I've noticed a CI failure on bundling step of my other PR (https://github.com/zed-industries/zed/actions/runs/8283419386/job/22666698264) Release Notes: - N/A --- crates/fs/src/fs.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/fs/src/fs.rs b/crates/fs/src/fs.rs index 0282dd3b46..9bf67013ec 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::{