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

Suggest fixes #7

Closed
kyoh86 opened this issue Jul 5, 2020 · 0 comments
Closed

Suggest fixes #7

kyoh86 opened this issue Jul 5, 2020 · 0 comments
Assignees

Comments

@kyoh86
Copy link
Owner

kyoh86 commented Jul 5, 2020

Diagnostics by exportloopref are can be fixed with pinning variable.

for _, p := range []struct{}{} {
  p := p // pinning variable
  //...
}

ref

@kyoh86 kyoh86 self-assigned this Jul 5, 2020
@kyoh86 kyoh86 closed this as completed in bb96292 Jul 12, 2020
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

No branches or pull requests

1 participant