Commit b924b9b
cleanup: remove redundant loop variable rebinding for Go 1.22+
Go 1.22+ scopes loop variables per iteration, so closures capture
the correct value without explicit rebinding. Remove the unnecessary
`gpu := gpu/die := die` to simplify the code.
Signed-off-by: Teresaliu <teresaliu@didiglobal.com>1 parent ea1d638 commit b924b9b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
327 | | - | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
| |||
0 commit comments