diff --git a/crates/ui/src/input/input.rs b/crates/ui/src/input/input.rs index 7bab8789..b6427320 100644 --- a/crates/ui/src/input/input.rs +++ b/crates/ui/src/input/input.rs @@ -8,7 +8,6 @@ use std::ops::Range; use super::blink_cursor::BlinkCursor; use super::history::History; use crate::button::{Button, ButtonStyle}; -use crate::context_menu::ContextMenuExt; use crate::indicator::Indicator; use crate::styled_ext::StyleSized; use crate::theme::ActiveTheme; @@ -991,7 +990,6 @@ impl Element for TextElement { impl Render for TextInput { fn render(&mut self, cx: &mut ViewContext) -> impl IntoElement { - let focus_handle = self.focus_handle.clone(); let focused = self.focus_handle.is_focused(cx); let prefix = self.prefix.as_ref().map(|build| build(cx)); diff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.toml index 4f9c80f9..e8c5cfb5 100644 --- a/crates/workspace/Cargo.toml +++ b/crates/workspace/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" gpui.workspace = true ui.workspace = true anyhow.workspace = true -windows = "0.57.0" +windows = { version = "0.57.0", features = ["Wdk", "Wdk_System", "Wdk_System_SystemServices"] } schemars = "0.7.0" parking_lot = "0.12.1" serde = "1.0.203"