From 80733e919d79c9562a5817994a2117a27857459d Mon Sep 17 00:00:00 2001 From: Zelaren Date: Mon, 6 May 2024 21:41:05 +0800 Subject: [PATCH] Fix `cfg!(target_os)` spelling mistake (#11430) This PR fixes the spelling mistake cfg!(target_os = "windows") Release Notes: - N/A --- crates/util/src/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/util/src/paths.rs b/crates/util/src/paths.rs index feb7c19535..198b3ebb89 100644 --- a/crates/util/src/paths.rs +++ b/crates/util/src/paths.rs @@ -70,7 +70,7 @@ lazy_static::lazy_static! { pub static ref LOCAL_SETTINGS_RELATIVE_PATH: &'static Path = Path::new(".zed/settings.json"); pub static ref LOCAL_TASKS_RELATIVE_PATH: &'static Path = Path::new(".zed/tasks.json"); pub static ref LOCAL_VSCODE_TASKS_RELATIVE_PATH: &'static Path = Path::new(".vscode/tasks.json"); - pub static ref TEMP_DIR: PathBuf = if cfg!(target_os = "widows") { + pub static ref TEMP_DIR: PathBuf = if cfg!(target_os = "windows") { dirs::cache_dir() .expect("failed to determine LocalAppData directory") .join("Zed")