Constant aoc_parse::prelude::digit

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

Matches any ASCII decimal digit '0'-'9' and converts it to its integer value 0-9.