diff options
author | 2021-07-19 21:05:16 +0700 | |
---|---|---|
committer | 2021-07-19 21:05:16 +0700 | |
commit | c8ac77e4e99414746adedf38cf69ac8dcd1601a4 (patch) | |
tree | d9753b4d3bc1fc6ef59a357d254fc8eb0077bc25 /src | |
parent | a2f49a74d08a0cff2e892932b484a88a4034f627 (diff) | |
download | iced-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.rs | 4 |
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() } |