From b531db5f26666930e5b98ecd0e6d874bbe00d0f4 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 May 2024 21:01:41 +0200 Subject: [PATCH] format comment --- crates/egui/src/menu.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/egui/src/menu.rs b/crates/egui/src/menu.rs index d7f055416a5..313e0e5d312 100644 --- a/crates/egui/src/menu.rs +++ b/crates/egui/src/menu.rs @@ -553,7 +553,9 @@ impl SubMenu { } } -///Components of menu state, public for advanced usage. Usually you don't need to use it directly +/// Components of menu state, public for advanced usage. +/// +/// Usually you don't need to use it directly. pub struct MenuState { /// The opened sub-menu and its [`Id`] sub_menu: Option<(Id, Arc>)>,