Skip to content

refactor: omit unnecessary reassignment#1532

Closed
quantpoet wants to merge 1 commit intocloudflare:masterfrom
quantpoet:master
Closed

refactor: omit unnecessary reassignment#1532
quantpoet wants to merge 1 commit intocloudflare:masterfrom
quantpoet:master

Conversation

@quantpoet
Copy link
Copy Markdown

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

Signed-off-by: quantpoet <quantway@outlook.com>
@quantpoet
Copy link
Copy Markdown
Author

@jcsf @chungthuang Hi, Could you please review this PR at your convenience? Thank you very much.

@jcsf
Copy link
Copy Markdown
Contributor

jcsf commented Mar 3, 2026

Hi,
Thanks for your contribution but we don't accept typo's PR's because the cost of synchronizing our internal repo with the public one for a simple type is to high. We will just take all of them and batch the change into a single PR on our side.

@jcsf jcsf closed this Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants