From 7250754f8e55d012a821c615f11f833b0567cea2 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 3 May 2023 19:13:17 +0200 Subject: [PATCH] Make dispatch_keystroke public to the crate only --- crates/gpui/src/app/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui/src/app/window.rs b/crates/gpui/src/app/window.rs index 1b9464ddeb..606cfc9a24 100644 --- a/crates/gpui/src/app/window.rs +++ b/crates/gpui/src/app/window.rs @@ -449,7 +449,7 @@ impl<'a> WindowContext<'a> { }) } - pub fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool { + pub(crate) fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool { let window_id = self.window_id; if let Some(focused_view_id) = self.focused_view_id() { let dispatch_path = self