Skip to main content

expect_number_u8

Function expect_number_u8 

Source
fn expect_number_u8(
    tokens: &[Token<'_>],
    i: &mut usize,
    ctx: impl Display,
) -> Result<u8>
Expand description

Consume the next token as a number and convert to u8.