This should probably be ```if char::is_digit(current[pos]) {```