This commit is contained in:
Lyle Mantooth 2024-02-05 15:27:06 -05:00
parent 3018db7dd1
commit 0c3d77b90b
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789

View file

@ -64,9 +64,7 @@ fn wave_numbers(input: &str) -> IResult<&str, (usize, u8)> {
}) })
}), }),
space1, space1,
map_res(hexordecimal, |(radix, s)| { map_res(hexordecimal, |(radix, s)| u8::from_str_radix(s, radix)),
u8::from_str_radix(s, radix)
}),
)(input) )(input)
} }