diff --git a/crates/egui/src/menu.rs b/crates/egui/src/menu.rs index b74b8556795..79a37e4cfc0 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>)>,