Skip to content

Conversation

@zachs18
Copy link

@zachs18 zachs18 commented May 28, 2025

The array on line 119 contains "2", "4", and "5", so any of those (parsed) could be the result, but the test is checking that result == 2 || result == 3 || result == 4, erroneously accepting 3 and rejecting 5 as valid results.

Found by https://github.com/craterbot at rust-lang/rust#140985 (comment)

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.

1 participant