pub fn digit() -> Digit
Leaf parser for single digits.
Leaf
assert_eq!( parser::digit().parse(b"12345"), Ok((1u8, &b"2345"[..])) );