-
Notifications
You must be signed in to change notification settings - Fork 767
refactor: omit unnecessary reassignment #6768
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6768 +/- ##
==========================================
- Coverage 56.91% 56.90% -0.01%
==========================================
Files 929 929
Lines 58081 58077 -4
==========================================
- Hits 33055 33051 -4
Misses 21985 21985
Partials 3041 3041
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@rifeplight Can you fix the unit test failures? |
Signed-off-by: rifeplight <[email protected]>
|
/retest |
|
@Sovietaced Modified. Please review it again. |
|
Bito Review Skipped - No Changes Detected |
|
Congrats on merging your first pull request! 🎉 |
Tracking issue
Why are the changes needed?
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
What changes were proposed in this pull request?
How was this patch tested?
Labels
Please add one or more of the following labels to categorize your PR:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
Summary by Bito