mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 20:11:29 +11:00
chore: fix docs typos
This commit is contained in:
parent
6a3f2ba7e7
commit
460e88d279
|
@ -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<S: Into<String>>(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
|
||||
|
|
Loading…
Reference in a new issue