Skip to content

Remove useless condition literal#15859

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:fix/remove-condition-literal
Jun 2, 2025
Merged

Remove useless condition literal#15859
straight-shoota merged 1 commit intocrystal-lang:masterfrom
straight-shoota:fix/remove-condition-literal

Conversation

@straight-shoota
Copy link
Member

This was discovered by ameba's Lint/LiteralInCondition rule.

Copy link

@mverzilli mverzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I checked the whole history of this line, it's funny how it never raised any eyebrows!

@straight-shoota straight-shoota added this to the 1.17.0 milestone May 31, 2025
@straight-shoota straight-shoota merged commit 96bf61e into crystal-lang:master Jun 2, 2025
37 checks passed
@straight-shoota straight-shoota deleted the fix/remove-condition-literal branch June 2, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants