examples: remove unneeded workaround (#12336)

pull/12340/head
Wertzui123 2021-10-30 17:49:54 +02:00 committed by GitHub
parent a7d4236337
commit 612e742c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ pub fn (a &A2D) set(x int, y int, newval int) {
mut e := &int(0)
e = a.data + y * a.maxx + x
*e = newval
_ = e // TODO compiler bug, this is not necessary
}
}