examples: remove unneeded workaround (#12336)
parent
a7d4236337
commit
612e742c1f
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue