Constant aoc_parse::prelude::digit_bin

source ·
pub const digit_bin: MapParser<CharParser, fn(_: char) -> usize>;
Expand description

Matches a binary digit '0' or '1', and converts it to its integer value 0 or 1.