Skip to content

checkers/sloppyLen: make it diagnostic check #1394

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

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

cristaloleg
Copy link
Member

It's more a diagnostic check rather than style. First to cases are always const and 3rd is always non-zero which sounds like a diagnostic thing.

Touches emptyStringTest a bit.

@cristaloleg cristaloleg requested a review from quasilyte January 2, 2024 07:20
@cristaloleg cristaloleg merged commit 15a5f14 into master Jan 2, 2024
@cristaloleg cristaloleg deleted the change-sloppylen-to-diah branch January 2, 2024 07:22
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