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 {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
state_tree: widget::Tree::empty(),
|
||||
}
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue