code
code copied to clipboard
Ch2: needle-in-haystack.rs is missing
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.
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.