Skip to content

refactor: omit unnecessary reassignment#8213

Closed
zjumathcode wants to merge 1 commit intoonflow:masterfrom
zjumathcode:master
Closed

refactor: omit unnecessary reassignment#8213
zjumathcode wants to merge 1 commit intoonflow:masterfrom
zjumathcode:master

Conversation

@zjumathcode
Copy link

The new version of Go has been optimized, and variables do not need to be reassigned.

For more info: https://tip.golang.org/wiki/LoopvarExperiment#does-this-mean-i-dont-have-to-write-x--x-in-my-loops-anymore

@zjumathcode zjumathcode requested a review from a team as a code owner December 1, 2025 10:39
@github-actions github-actions bot added the Stale Label used when marking an issue stale. label Jan 31, 2026
@github-actions github-actions bot closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Label used when marking an issue stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant