diff --git a/examples/test_window.rs b/examples/test_window.rs index c053083..a350a0b 100644 --- a/examples/test_window.rs +++ b/examples/test_window.rs @@ -87,9 +87,7 @@ impl Default for AutoResizeState { } fn main() { - let mut state = State { - .. Default::default() - }; + let mut state = State::default(); let mut support = Support::init(); let mut opened = true;