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

Ch2: needle-in-haystack.rs is missing #78

Open
Nicodile opened this issue May 25, 2022 · 1 comment
Open

Ch2: needle-in-haystack.rs is missing #78

Nicodile opened this issue May 25, 2022 · 1 comment

Comments

@Nicodile
Copy link

code for needle-in-haystack is missing. I wanted to double check here as the octal 0o204; doesnt match anything and prints nothing to the console.

@nellyisanon
Copy link

It prints out nothing in the console because none of the items in the haystack array is equal to the needle variable. Add 132 to the haystack array and you'll see a print out in the console.

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

No branches or pull requests

2 participants