diff --git a/src/builders/submenu.rs b/src/builders/submenu.rs index d51e25d..a3f7214 100644 --- a/src/builders/submenu.rs +++ b/src/builders/submenu.rs @@ -26,7 +26,7 @@ impl<'a> SubmenuBuilder<'a> { Default::default() } - /// Set the text for this menu item. + /// Set the text for this submenu. /// /// See [`Submenu::set_text`] for more info. pub fn text>(mut self, text: S) -> Self { @@ -34,7 +34,7 @@ impl<'a> SubmenuBuilder<'a> { self } - /// Enable or disable this menu item. + /// Enable or disable this submenu. pub fn enabled(mut self, enabled: bool) -> Self { self.enabled = enabled; self