diff --git a/src/instruments.rs b/src/instruments.rs index 0beb4c3..bdee226 100644 --- a/src/instruments.rs +++ b/src/instruments.rs @@ -64,9 +64,7 @@ fn wave_numbers(input: &str) -> IResult<&str, (usize, u8)> { }) }), space1, - map_res(hexordecimal, |(radix, s)| { - u8::from_str_radix(s, radix) - }), + map_res(hexordecimal, |(radix, s)| u8::from_str_radix(s, radix)), )(input) }