mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-24 04:11:30 +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()
|
Default::default()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the text for this menu item.
|
/// Set the text for this submenu.
|
||||||
///
|
///
|
||||||
/// See [`Submenu::set_text`] for more info.
|
/// See [`Submenu::set_text`] for more info.
|
||||||
pub fn text<S: Into<String>>(mut self, text: S) -> Self {
|
pub fn text<S: Into<String>>(mut self, text: S) -> Self {
|
||||||
|
@ -34,7 +34,7 @@ impl<'a> SubmenuBuilder<'a> {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Enable or disable this menu item.
|
/// Enable or disable this submenu.
|
||||||
pub fn enabled(mut self, enabled: bool) -> Self {
|
pub fn enabled(mut self, enabled: bool) -> Self {
|
||||||
self.enabled = enabled;
|
self.enabled = enabled;
|
||||||
self
|
self
|
||||||
|
|
Loading…
Reference in a new issue