Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove useless copy loop var #2892

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

alexandear
Copy link
Member

i := i in a loop is not needed starting from Go 1.22, see https://go.dev/blog/go1.22#language-changes

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit 243ad9c into lima-vm:master Nov 12, 2024
29 checks passed
@jandubois jandubois added this to the v1.0.2 milestone Nov 12, 2024
@alexandear alexandear deleted the refactor/useless-copy-loop-var branch November 12, 2024 07:13
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