Skip to content

Conversation

alexandear
Copy link
Member

This PR removes unused receivers for consistency. Additionally, enables the unused-receiver rule in revive to prevent introducing unused receivers in the future.

PR #4592 manually removed unused receivers. However, we can automate this process by detecting unused receiver variables with revive.

@alexandear alexandear added the topic: cosmetic changes contain cosmetic improvements label Mar 29, 2024
@ldez ldez merged commit d318327 into master Mar 29, 2024
@ldez ldez deleted the feat/clean-unused-receivers branch March 29, 2024 23:42
@ldez ldez added this to the next milestone Mar 30, 2024
@ldez ldez modified the milestones: next, v1.58 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants