Use State::new() for State::default()

This commit is contained in:
0x192 2022-03-29 23:31:05 +02:00
parent cfc164d83d
commit 9b835c2662
No known key found for this signature in database
GPG key ID: 34D27465928A0A1D

View file

@ -43,9 +43,7 @@ pub struct State {
impl Default for State {
fn default() -> Self {
Self {
state_tree: widget::Tree::empty(),
}
Self::new()
}
}