As I saw in [this code review](https://www.reddit.com/r/rust/comments/ge6shk/code_review_request_brainfuck_interpreter/), someone wrote: ```rust while Some(&instructions[i]) == instructions[i + acc..].iter().next() { acc += 1; } ``` That should be replaced with: ```rust while Some(&instructions[i]) == instructions.get(i + acc) { acc += 1; } ``` In general, `slice[i..].iter().next()` can be replaced with `slice.get(i)`, or `0` if there is no slicing done.