From 66b73c2d602f2694e5b3fa7fb48a228ebe93c448 Mon Sep 17 00:00:00 2001 From: Matin Aniss <76515905+MatinAniss@users.noreply.github.com> Date: Sun, 2 Jun 2024 21:06:14 +1000 Subject: [PATCH] Fix GPUI get_menus documentation (#12571) Release Notes: - N/A --- crates/gpui/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 0db83599e4..ac33bd8363 100644 --- a/crates/gpui/src/app.rs +++ b/crates/gpui/src/app.rs @@ -1168,7 +1168,7 @@ impl AppContext { self.platform.set_menus(menus, &self.keymap.borrow()); } - /// Sets the menu bar for this application. This will replace any existing menu bar. + /// Gets the menu bar for this application. pub fn get_menus(&self) -> Option> { self.platform.get_menus() }