Function aoc::year2020::day18::next

source ยท
fn next(bytes: &mut Bytes<'_>) -> Option<u8>
Expand description

Convenience wrapper around Bytes iterator. Encountering a ) is also considered end of sequence. The expressions are consistently formatted so encountering a space just means skip and return the next character that will always be present.