Use State::new() for State::default()
This commit is contained in:
parent
cfc164d83d
commit
9b835c2662
1 changed files with 1 additions and 3 deletions
|
|
@ -43,9 +43,7 @@ pub struct State {
|
||||||
|
|
||||||
impl Default for State {
|
impl Default for State {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self::new()
|
||||||
state_tree: widget::Tree::empty(),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue