This commit is contained in:
Folkert 2021-02-26 22:22:15 +01:00
parent 5b3c7eeee3
commit 64eed62b69
3 changed files with 9 additions and 7 deletions

View file

@ -107,7 +107,7 @@ fn chomp_number_dec<'a>(
}
}
fn chomp_number<'a>(mut bytes: &'a [u8]) -> (bool, usize) {
fn chomp_number(mut bytes: &[u8]) -> (bool, usize) {
let start_bytes_len = bytes.len();
let mut is_float = false;