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

simple: check for uneeded conversion in string([]rune{x}) #759

Open
martisch opened this issue May 22, 2020 · 0 comments
Open

simple: check for uneeded conversion in string([]rune{x}) #759

martisch opened this issue May 22, 2020 · 0 comments
Labels
needs-decision We have to decide if this check is feasible and desirable new-check

Comments

@martisch
Copy link

string([]rune{x}) can be written as string(x).

It may make sense for readability to use string([]rune{x}) if its used in a context where string([]rune{x1,x2}) and similar appears.

@martisch martisch added the needs-triage Newly filed issue that needs triage label May 22, 2020
@dominikh dominikh added needs-decision We have to decide if this check is feasible and desirable new-check and removed needs-triage Newly filed issue that needs triage labels May 24, 2020
@dominikh dominikh changed the title check for uneeded conversion in string([]rune{x}) simple: check for uneeded conversion in string([]rune{x}) Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-decision We have to decide if this check is feasible and desirable new-check
Projects
None yet
Development

No branches or pull requests

2 participants