mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Add impl Default for Menubar
To make clippy happy
This commit is contained in:
parent
0fd3bc113f
commit
e127392e8a
@ -30,6 +30,12 @@ pub struct Menubar {
|
|||||||
state: State,
|
state: State,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Menubar {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Menubar {
|
impl Menubar {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Menubar {
|
Menubar {
|
||||||
|
Loading…
Reference in New Issue
Block a user