antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.43k stars 78 forks source link

fix example #186

Closed petar-dambovaliev closed 4 years ago

petar-dambovaliev commented 4 years ago

the window field of Win has the same name as the variable used in the initialization, therefore it doesn't need to specify the field explicitly. Just like the model field on the line above

antoyo commented 4 years ago

Thank you. Sorry for the delay, I forgot about it.