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

Use Object#in? in place of multiple comparisons #12700

Merged
merged 6 commits into from
Nov 12, 2022

Conversation

caspiano
Copy link
Contributor

Follow up to #12675

Some additional cleanups of uses in the lexer code are contained in #12699

src/http/cookie.cr Outdated Show resolved Hide resolved
@caspiano caspiano requested a review from oprypin November 7, 2022 10:50
spec/std/http/cookie_spec.cr Outdated Show resolved Hide resolved
src/http/cookie.cr Outdated Show resolved Hide resolved
@straight-shoota straight-shoota added this to the 1.7.0 milestone Nov 10, 2022
@straight-shoota straight-shoota changed the title Use Object#in? in place of multiple comparisons in more places Use Object#in? in place of multiple comparisons Nov 12, 2022
@straight-shoota straight-shoota merged commit 1da0e33 into crystal-lang:master Nov 12, 2022
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.

3 participants