Replace x in &y Use &v in y syntax through core & vendor for switch/for statements

This commit is contained in:
gingerBill
2023-06-26 15:42:57 +01:00
parent 00d60e28c2
commit 3dec55f009
14 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ destroy :: proc(img: ^Image) {
bytes.buffer_destroy(&img.pixels)
if v, ok := img.metadata.(^image.PNG_Info); ok {
for chunk in &v.chunks {
for chunk in v.chunks {
delete(chunk.data)
}
delete(v.chunks)