mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fix warnings in menubar example
This commit is contained in:
parent
e127392e8a
commit
e439b422da
@ -16,17 +16,17 @@ fn main() {
|
|||||||
.leaf("New", |s| s.add_layer(Dialog::info("New file!")))
|
.leaf("New", |s| s.add_layer(Dialog::info("New file!")))
|
||||||
.subtree("Recent",
|
.subtree("Recent",
|
||||||
MenuTree::new()
|
MenuTree::new()
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ()))
|
.leaf("Item 1", |_| ()))
|
||||||
.delimiter()
|
.delimiter()
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.leaf("Item 1", |s| ())
|
.leaf("Item 1", |_| ())
|
||||||
.delimiter()
|
.delimiter()
|
||||||
.leaf("Quit", |s| s.quit()))
|
.leaf("Quit", |s| s.quit()))
|
||||||
.add("Help",
|
.add("Help",
|
||||||
|
Loading…
Reference in New Issue
Block a user