examples: fix warnings about 0 assignments to reference fields (#21133)

This commit is contained in:
Turiiya 2024-03-29 09:35:37 +01:00 committed by GitHub
parent 1400f649c9
commit 00860ebc6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 9 additions and 30 deletions

View file

@ -195,9 +195,7 @@ const font = $embed_file('../assets/fonts/RobotoMono-Regular.ttf')
// setup
fn main() {
mut app := App{
gg: 0
}
mut app := App{}
app.reset_game()
app.best.load()