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: Fix wrong windows cfg (#51644)

Lukas Wirthec2ab12a063d
diff --git a/crates/fs/src/fs.rs b/crates/fs/src/fs.rs
index 51757cc5a16..662e5c28631 100644
--- a/crates/fs/src/fs.rs
+++ b/crates/fs/src/fs.rs
@@ -37,7 +37,7 @@ use is_executable::IsExecutable;
use rope::Rope;
use serde::{Deserialize, Serialize};
use smol::io::AsyncWriteExt;
-#[cfg(any(target_os = "windows", feature = "test-support"))]
+#[cfg(feature = "test-support")]
use std::path::Component;
use std::{
io::{self, Write},