From 2eff93615449458931ed187f8bb74161de943993 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 12 May 2021 11:57:05 +0200 Subject: [PATCH] Make `MutableAppContext::prompt` private ...as we're supposed to call this method only via ViewContext. --- gpui/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpui/src/app.rs b/gpui/src/app.rs index db3455598bcb36e41acbaaacf66d3a93186e5111..a8d3e13fdedd3aef18a0f165d65cb647e2770ecd 100644 --- a/gpui/src/app.rs +++ b/gpui/src/app.rs @@ -578,7 +578,7 @@ impl MutableAppContext { self.platform.set_menus(menus); } - pub fn prompt( + fn prompt( &self, window_id: usize, level: PromptLevel,