summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-07-19 21:05:16 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-07-19 21:05:16 +0700
commitc8ac77e4e99414746adedf38cf69ac8dcd1601a4 (patch)
treed9753b4d3bc1fc6ef59a357d254fc8eb0077bc25 /src
parenta2f49a74d08a0cff2e892932b484a88a4034f627 (diff)
downloadiced-c8ac77e4e99414746adedf38cf69ac8dcd1601a4.tar.gz
iced-c8ac77e4e99414746adedf38cf69ac8dcd1601a4.tar.bz2
iced-c8ac77e4e99414746adedf38cf69ac8dcd1601a4.zip
Write documentation for `menu` method in `Application`
Diffstat (limited to 'src')
-rw-r--r--src/application.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs
index 42c28f99..ae85c841 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -191,7 +191,9 @@ pub trait Application: Sized {
false
}
- /// TODO
+ /// Returns the current system [`Menu`] of the [`Application`].
+ ///
+ /// By default, it returns an empty [`Menu`].
fn menu(&self) -> Menu<Self::Message> {
Menu::new()
}